Scheduler

Description

scheduler

The Scheduler activity allows you to schedule when a workflow or an activity is started.

Context of use

The Scheduler activity should be considered as a scheduled start. The activity positioning rules within the chart are the same as for the Start activity. This activity must not have an inbound transition.

When building your workflow, only use one Scheduler activity per branch and remember to set a time zone. It will be set otherwise to run at the server time zone.

Внимание:

The Repetition frequency of the activity cannot be less than 10 minutes. It means that a workflow cannot be automatically executed more than once every 10 minutes.

Configuration

  1. Drag and drop a Scheduler activity into your workflow.

  2. Select the activity, then open it using the button from the quick actions that appear.

  3. Specify the Execution frequency:

    • Once: the workflow is executed a single time.

    • Several times a day: the workflow is regularly executed several times a day.

    • Daily: the workflow is executed at a specific time, once a day.

    • 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.

    • Yearly: the workflow is executed at a specified moment, once or several times a year.

  4. Define the execution details according to the frequency selected. The detail fields may vary depending on the frequency used (time, repetition frequency, specified days, etc.).

    Бележка:

    The Repetition frequency field allows you to space out the times when the workflow is triggered. For example, if you select a daily execution period and the repetition frequency is set at 2 (days), the workflow will be triggered every two days. It cannot be less than 10 minutes. If the repetition frequency is set at 0 (also the default value), this option is not taken into account and the workflow will run according to the execution frequency specified.

  5. Specify when the execution will expire:

    • Never: the workflow will be executed, according to the frequency specified, without any limits to the time frame or number of iterations.

    • After a certain number of iterations: the workflow will be executed according to the frequency specified, up until the limit of X is reached. The Number of iterations will therefore need to be specified.

    • On a specific date: the workflow will be executed according to the frequency specified, up until a specific date. The execution deadline will therefore need to be specified.

  6. In the Execution options tab, set up the time zone for your scheduler in the Time zone field. This allows you to start your workflow at a specific time zone, otherwise the workflow will run in server time zone by default.

    For more information on sending delivery depending on the recipient's time zone, refer to this section or this example of a recurring workflow.

  7. Confirm the configuration of your activity and save your workflow.

Example

In the following example, the activity is configured so that it will start the workflow on a weekly basis, every other Monday at 7am, for an undetermined duration.

wkf_scheduler_example

Този материал е лицензиран под лиценз Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  Публикациите в Twitter™ и Facebook не попадат под клаузите на Creative Commons.

Правни бележки   |   Правила за онлайн поверителност