Skip to main content

Create a Schedule

As needed, you can create a new schedule to execute jobs.

To add a schedule, select the + New Schedule icon on the Schedules page.

  1. Enter a Name for the new schedule.

  2. Select the Asset Type: Workflow, Plan, Auto Insights Dataset, or Reporting Project.

    • Auto Insights Dataset

      Note

      Auto Insights datasets are now Alteryx One datasets. Existing schedules that refresh an Auto Insights dataset continue to run as before. To keep Insights refreshed automatically going forward, schedule the workflow that produces the Alteryx One dataset rather than the dataset itself. Each scheduled run updates the dataset and its Insights.

    • Designer Cloud Workflow

    • Designer Workflow

    • Orchestrator Plan

    • Live Query Workflow

  3. After you choose the Asset Type, next select the specific Asset of the type that you want to schedule.

  4. Use the Select Version dropdown to choose the version that the schedule runs.

    • Always Use Latest Version: The schedule runs the most recent saved version each time it runs. This is the default.

    • A numbered version: The schedule runs only that version, even after you save newer versions.For details, go to Run a Specific Version.

  5. Under Occurrence, select the preferred run type:

    Note

    The options for the schedule vary based on the selected run type.

    • Recurring: Create a schedule that repeats hourly, daily, weekly, or monthly.

    • Once: Create a one time schedule for a set time and date.

    • Custom: The schedule for custom run types uses a modified form of cron scheduling. For more information, go to cron Schedule Syntax Reference.

    • Event Trigger: Go to Event Triggers for more information.

  6. Select the required scheduling options based on the run type:

    • Frequency: Run the schedule at the specified moment for the interval. You can select from Hourly, Daily, Weekly, or Monthly.

      Tip

      For dropdown menus that show days of the week or days of the month, you can select multiple values.

    • Timezone: Select the timezone to apply to the schedule. To use UTC time zone, select the required UTC from the dropdown.

    • Cron Expression: Set the schedule according to cron syntax. The cron schedule also uses the selected Timezone settings.

    • Trigger on Modification: Trigger the schedule if an application creates a new file or edits an existing file. Under File Path, select Browse and then Select a file to monitor for the trigger.

  7. Select Schedule to save the schedule.

Run a Specific Version

By default, a schedule runs the latest version of its asset. Select a specific version to keep a schedule running the same version while you continue to edit the asset. This is called version pinning.

Version selection is available for these asset types:

  • Designer Workflow

  • Designer Cloud Workflow

  • Live Query Workflow

  • Software Development Lifecycle (SDLC) Package

The Select Version dropdown lists each saved version with its version number and name, the user who saved it, and the date and time. Autosaved versions appear in a collapsed group at the bottom of the list.

To pin a schedule to a specific version:

  1. On the Schedules page, select New Schedule.

  2. Enter a Name and select the Asset Type and Asset.

  3. In Select Version, select the version to run.

  4. Set the Occurrence options.

  5. Select Schedule.

When you edit the schedule, Select Version in the Schedule modal shows the version that you saved. To change the version, select a different one and save the schedule.

Note

  • Selecting a version doesn't change the asset. New saves create new versions that the pinned schedule doesn't run.

  • Existing schedules run the latest version of the asset. They use Always Use Latest Version unless you select a specific version.

  • If you delete a version that a schedule is pinned to, the schedule keeps that version and every run fails. To fix this, edit the schedule and select a different version in Select Version.