51黑料不打烊

Scheduler 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 scheduler-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鈥檚 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 scheduler-configuration

Follow these steps to configure the Scheduler activity:

Scheduler activity configuration interface

  1. Add a Scheduler activity to your workflow.

  2. 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.
  3. 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).

  4. Click Preview launch times to check the schedule of the next ten executions of your workflow.

  5. 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.
NOTE
If you want to start the workflow right away, click Execute pending task in the scheduler鈥檚 top action bar. This button is only available when the workflow has been started.

Example scheduler-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.

Scheduler activity example configuration

recommendation-more-help
c39c2d00-ba9a-424b-adf9-66af58a0c34b