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:
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.
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:
Once the schedule is cancelled, the workflow becomes editable again.