Skip to main content

Overview

On this page you will learn how to schedule workflows for recurring execution and scale scheduled runs using parallelism.

Scheduling Workflows

Scheduling workflows automates execution at a specific time or at regular intervals. The scheduler is available from the top right of the canvas, next to the Version history button. To open the scheduling dialog:
1

Open the workflow

Open the workflow in the Workflow Editor.
2

Open the schedule dialog

Click the calendar icon in the top-right of the canvas. A Schedule Workflow popup opens where you can configure the first run time, repeat interval (period), fleet, and parallelism.
In the dialog you configure when and how the workflow runs; the summary at the bottom updates as you change the options.

Scheduling Options

In the Schedule Workflow dialog, you can configure the following:
  • First run - Choose the date and time for the first scheduled run. The first run must be in the future.
  • Repeat - Choose how often the workflow runs (for example, every N minutes, hours, or days).
  • Parallelism - Set maximum parallelism for your scheduled execution.
  • Fleet - Choose the fleet where the workflow will execute.
As you update these values, the scheduling summary at the bottom of the dialog updates. To apply the schedule, click Schedule.
Note Scheduling a workflow makes it read-only. You must cancel the schedule before making edits.

Schedule Constraints

When scheduling workflows, keep the following constraints in mind:
  • Workflow execution time vs interval
    The workflow execution time should be shorter than the repeat interval. If a workflow takes longer than the interval, subsequent runs will start based on the previous run’s completion.
  • Fleet capacity and queuing
    Parallelism and fleet capacity must be available at runtime. If capacity is not available, the workflow will queue until resources are available.
  • Workflow editing
    A scheduled workflow becomes read-only. To modify the workflow, cancel the schedule first.

Unscheduling Workflows

To cancel an active schedule:
1

Open the workflow

Open the workflow in the Workflow Editor.
2

Cancel the schedule

Click the calendar icon in the top-right of the canvas. When a schedule is already configured, the icon is highlighted; clicking it again unschedules the workflow.
Once the schedule is cancelled, the workflow becomes editable again.