Scheduler
The Scheduler activity is a Flow control activity. It allows you to schedule when the workflow gets started. This activity should be considered as a scheduled start. It can only be used as the first activity of the workflow.
Best practices
- Do not schedule a workflow to run more than every 15 minutes, as it may impede overall system performance and create blocks in the database.
- To send a one-shot delivery in your workflow, add a scheduler activity and set it to run Once. Define the Schedule in the delivery’s settings.
- To send a recurring delivery in your workflow, use a Scheduler activity and set the execution frequency. The recurring delivery activity does not allow you to define a schedule.
Configure the Scheduler activity
Follow these steps to configure the Scheduler activity:
-
Add a Scheduler activity to your workflow.
-
Configure the Execution frequency:
- Once: The workflow is executed a single time.
- Daily: The workflow is executed at a specific time, once a day.
- Several times a day: The workflow is regularly executed several times a day. Set up executions at specific times or periodically.
- Weekly: The workflow is executed at a specified moment, once or several times a week.
- Monthly: The workflow is executed at a specified moment, once or several times a month. Select months when the workflow needs to be executed. You can also set up executions on specified weekdays of the month, such as the second Tuesday of the month.
-
Define the execution details according to the frequency selected. The detail fields may vary depending on the frequency used (time, repetition frequency, specified days, and similar options).
-
Click Preview launch times to check the schedule of the next ten executions of your workflow.
-
Define the validity period of the scheduler:
- Permanent (never expires): The workflow is executed according to the frequency specified, without any limits to the time frame or number of iterations.
- Validity period: The workflow is executed according to the frequency specified, up until a specific date. Specify start and end dates.
Example
In the following example, the activity is configured so that the workflow runs several times a day at 9 and 12 AM, every day of the week from October 1, 2023, to January 1, 2024.