Scheduler

With the Scheduler trigger, you can schedule the integration flow’s execution for defined period of times.

Here’s how to add it to your canvas and configure your form.

Add the Scheduler trigger to the canvas

  1. Click the icon triggersIcon, in the editing menu on the left;

  2. Select the Scheduler.

    The flowStartIcon Start is replaced by the trigger as soon as you add it to the canvas.

  3. Configure your form.

To delete the Scheduler from the canvas, select it and click the trash can icon button.
Deleting the trigger will disable the Test Mode function.

Configuring the form

  1. Select the trigger on the canvas.

  2. Click the edit icon pencil icon.

  3. Fill in the following fields:

    • Name: enter the trigger’s name. The name cannot be used more than once in the same integration flow. By default, you will see Scheduler Trigger.

    • Cron Expression: set up a recurrence pattern to run the integration flow. Learn how a Cron Expression works.

      By clicking the Properties icon list icon on the right, you can:
      a. Select the registered expression. In this case, you will see the selected attribute, not its value. The system will validate the expression.
      b. Create expressions using the Expression Builder.
    • Time Zone: select the time zone. You can type it or filter the available options. The default time zone is UTC.

    • Click SAVE to save the changes. To exit the form without saving, click X at the top right.

schedulerTriggerScreen

Expression Builder

The Expression Builder component allows you to create expressions with parameters and variables through functions and conditions available within the component. This allows you to adjust the expressions to meet your needs.

Follow the steps below to access the Expression Builder screen:

  1. Click the Properties icon list icon, to the right of the Cron Expression field.

  2. Next, click the expression icon icon in the upper-right corner.

expression builder trigger

The Expression Builder screen contains the following sections:

  • Properties: shows data from previous steps and from the environment variables. Filter the attributes using the search field at the top of the section and then click the magnifying glass icon. You can select more than one attribute. When selecting it, the attribute will appear in the Expression field.

  • Expression: field to enter the input attributes or to create an expression by clicking the fx button button on the right. Only the Concat function is available to create the expression.

When selecting two or more attributes in the Properties field, you must create an expression.

To save the information, click CONFIRM. To exit the screen and cancel the operation, click X at the top right.

Cron expression

A cron expression is a string that defines periodic scheduling following a specific format.

The field Cron Expression accepts schedules with the following fields:

<minute> <hour> <day of month> <month> <day of week>

How to configure a cron expression

See below the special characters and values you can use for each field of the cron expression:

Minute

*

any value

,

value list separator (only the specified values)

-

range of values (all the values included in the range)

/

step values (the number before the slash specifies when the interval starts, and the number after the slash is the interval)

0-59

allowed values

Hour

*

any value

,

value list separator (only the specified values)

-

range of values (all the values included in the range)

/

step values (the number before the slash specifies when the interval starts, and the number after the slash is the interval)

0-23

allowed values

Day of month

*

any value

,

value list separator (only the specified values)

-

range of values (all the values included in the range)

/

step values (the number before the slash specifies when the interval starts, and the number after the slash is the interval)

1-31

allowed values

Month

*

any value

,

value list separator (only the specified values)

-

range of values (all the values included in the range)

/

step values (the number before the slash specifies when the interval starts, and the number after the slash is the interval)

1-12

allowed values

JAN-DEC

alternative single values

Day of week

*

any value

,

value list separator (only the specified values)

-

range of values (all the values included in the range)

/

step values (the number before the slash specifies when the interval starts, and the number after the slash is the interval)

0-6

allowed values

SUN-SAT

alternative single values

To generate a cron expression, access Crontab guru.

Examples

Here are some examples of cron expressions:

Minute Hour Day of month Month Day of week Meaning

30

10

*

*

*

Every day at 10:30

0

15

15

JUN

*

At 15:00 on June 15

0

17

*

*

6,0

At 17:00 on Saturday and Sunday

0

*

*

*

*

Every hour

0

0

*

*

*

Once a day

0

*/2

*

*

*

Every 2 hours

0

10/3

*

*

TUE

Every 3 hours starting at 10:00 on Tuesday

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]