Saltar al contenido

Lección 23 · Sharing, Performance and Debugging

Reporting, Sharing and Scheduling

Create simple Alteryx reports, share workflows as YXZP packages, make paths portable, schedule runs responsibly and keep secrets and private data out.

The last step of analysis is delivery. You might send a formatted report, hand a workflow to a colleague or run it automatically every morning. Each has its own pitfalls: broken paths, missing files, leaked secrets and silent failures.

This lesson shows how to deliver results reliably.

Reporting tools

The Reporting category builds documents from data. The usual building blocks are:

Tool Role
Table Turns data into a formatted table
Report Text Adds headings and text
Interactive Chart Draws charts
Layout Arranges report pieces
Report Header and Report Footer Page top and bottom
Render Produces the output file or view
Email Sends results by email
flowchart LR
  D["Data"] --> T["Table"]
  T --> L["Layout"]
  X["Report Text"] --> L
  L --> R["Render"]

Build pieces, arrange them, then render.

These tools suit regular, fixed-format reports. For interactive dashboards, teams often write data to a database or file and use a dedicated visualization tool.

The Email tool sends real messages. While testing, send only to yourself, check the recipient list and never include data that the readers are not allowed to see. Get approval before automating messages to customers.

Packaging a workflow

A YXZP (packaged workflow) bundles a saved workflow with the files it depends on. According to the Designer help, the package can include inputs, output references, macros and chained apps. It does not include some items, such as files referenced by network paths or files that are part of the Alteryx installation. You must save the workflow before exporting it.

Files inside or beside the workflow's folder keep their folder structure; other files are placed in a separate folder for external items. So organize a project like this:

TEXT
sales_report/
  sales_report.yxmd
  macros/
    standardize_key.yxmc
  input/
    stores.csv
  output/

Then open the package on a clean computer or folder to confirm that it works.

Python Stand-in: check a project for non-portable paths

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Clean before you share

Before sending a workflow or package:

  • Remove passwords, API keys and tokens. Check connection strings, formulas and Comment tools.
  • Remove sample data that contains real people.
  • Remember that Text Input data and cached or packaged inputs travel with the file.
  • Check that macros and file paths work for the recipient.
  • Add a short note: what it does, the inputs, the outputs and who to ask.

Scheduling

Scheduling and shared execution depend on your environment: for example a Server installation or cloud services in your edition. Some points apply generally:

  • The computer that runs the workflow must be able to reach all inputs and outputs. A path on your laptop is invisible to a server.
  • Check version compatibility between the computers that create, schedule and run the work. For example, a Server may not be able to run a workflow made in a newer Designer version. The rules have changed between releases, so read the compatibility page for yours.
  • Packaging is a common way to schedule a workflow with its dependencies.
  • The service account that runs jobs needs permission to read and write, and nothing more.

Version, edition and pricing details for automation change often. Check the current vendor documentation and your contract.

Reliable automated runs

Question Good practice
What if the input is late or missing? Check it and stop with a clear message
What if it runs twice? Make loads repeatable without duplicates
Who learns about failures? Notify a named owner
How do you know the result is right? Run counts and control totals
How do you recover? Write down the rerun steps
Python Stand-in: guard checks before a scheduled load

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In Alteryx, you can build the same checks with the Directory tool (file dates), record counts and the Message tool.

Version control and change

Workflow files are XML, so version control can store them, although the differences are hard to read by eye. Make small changes, write a short note for each and test before replacing the production version. Keep the previous version so you can go back.

A handover note

Whether you share by file, library or schedule, include a short note with the workflow. A useful note answers these questions:

Question Example answer
What is it for? Monthly revenue by category and store
What does it need? Sales files in the input folder and the product table
What does it produce? A summary file and a reject file
How do I know it worked? Row accounting and control total pass
What if it fails? Read the message, fix the source file, run again
Who owns it? A named person or team

Test the note by asking a colleague to run the workflow using only that page. Every question they ask shows you what to add.

Practice task

Take a small workflow with one input file and one macro. Arrange them in a project folder with relative paths, and write the handover note from this lesson. If you have Designer, export a package, copy it to a new empty folder, open it and run it.

Check which files travelled with the package and whether any path still points to the original location. Open the input files inside and ask whether you would be happy for the recipient to see every row. Then describe how the job would behave if the input were missing at 6 a.m., and who would find out.

Common mistakes

  • Sharing a workflow that only works with your local paths.
  • Forgetting that a package may contain sensitive input data.
  • Scheduling a job with no failure notification.
  • Automating email before testing the recipient list.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What does a YXZP package contain?

    A packaged workflow bundles the workflow and supported dependencies.
  2. 2. Why do local absolute paths break scheduled workflows?

    A server cannot read a folder on your personal computer.
  3. 3. Before sharing a workflow you should check for what?

    Secrets and personal data can travel inside the files.
  4. 4. What should a scheduled job do when its input is missing?

    Failing loudly prevents people from trusting wrong results.

Summary

  • Reporting tools build tables, text, layouts and rendered files; email with care.
  • Package workflows with portable folder structures and test the package.
  • Remove secrets and personal data before sharing.
  • Scheduled jobs need access, guard checks, alerts and rerun steps.

Next: Project: Monthly Sales Pipeline

Tu progreso se guarda en este navegador. No necesitas una cuenta.