Skip to content

Schedule

With the Scheduled trigger, you can initiate customized workflows at specific time intervals.

Categories: helpers

Type: schedule/v1


Triggers

Every Day

Name: everyDay

Trigger off at a specific time either on a daily basis or selected days of the week.

Type: LISTENER

Properties

NameLabelTypeControl TypeDescriptionRequired
hourHourINTEGERINTEGERThe hour at which a workflow will be triggered.true
minuteMinuteINTEGERINTEGERThe minute at which a workflow will be triggered.true
dayOfWeekDay of WeekARRAY
Items [INTEGER]
MULTI_SELECTDays at which a workflow will be triggered.null
timezoneTimezoneSTRING
Options Etc/GMT+0, Etc/GMT-1, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT+1, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12
SELECTThe timezone at which the cron expression will be scheduled.null

Output

Type: OBJECT

Properties

NameTypeControl Type
datetimeSTRINGTEXT
hourINTEGERINTEGER
minuteINTEGERINTEGER
dayOfWeekARRAY
Items [INTEGER]
ARRAY_BUILDER
timezoneSTRINGTEXT

JSON Example

{
"label" : "Every Day",
"name" : "everyDay",
"parameters" : {
"hour" : 1,
"minute" : 1,
"dayOfWeek" : [ 1 ],
"timezone" : ""
},
"type" : "schedule/v1/everyDay"
}

Every Week

Name: everyWeek

Trigger off at a specific day of the week.

Type: LISTENER

Properties

NameLabelTypeControl TypeDescriptionRequired
hourHourINTEGERINTEGERThe hour at which a workflow will be triggered.true
minuteMinuteINTEGERINTEGERThe minute at which a workflow will be triggered.true
dayOfWeekDay of WeekINTEGER
Options 1, 2, 3, 4, 5, 6, 7
SELECTDays at which a workflow will be triggered.true
timezoneTimezoneSTRING
Options Etc/GMT+0, Etc/GMT-1, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT+1, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12
SELECTThe timezone at which the cron expression will be scheduled.null

Output

Type: OBJECT

Properties

NameTypeControl Type
datetimeSTRINGTEXT
hourINTEGERINTEGER
minuteINTEGERINTEGER
dayOfWeekINTEGERINTEGER
timezoneSTRINGTEXT

JSON Example

{
"label" : "Every Week",
"name" : "everyWeek",
"parameters" : {
"hour" : 1,
"minute" : 1,
"dayOfWeek" : 1,
"timezone" : ""
},
"type" : "schedule/v1/everyWeek"
}

Every Month

Name: everyMonth

Trigger off at a specific time in month.

Type: LISTENER

Properties

NameLabelTypeControl TypeDescriptionRequired
hourHourINTEGERINTEGERThe hour at which a workflow will be triggered.true
minuteMinuteINTEGERINTEGERThe minute at which a workflow will be triggered.true
dayOfMonthDay of MonthINTEGERINTEGERThe day of the month at which a workflow will be triggered.true
timezoneTimezoneSTRING
Options Etc/GMT+0, Etc/GMT-1, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT+1, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12
SELECTThe timezone at which the cron expression will be scheduled.null

Output

Type: OBJECT

Properties

NameTypeControl Type
datetimeSTRINGTEXT
hourINTEGERINTEGER
minuteINTEGERINTEGER
dayOfMonthINTEGERINTEGER
timezoneSTRINGTEXT

JSON Example

{
"label" : "Every Month",
"name" : "everyMonth",
"parameters" : {
"hour" : 1,
"minute" : 1,
"dayOfMonth" : 1,
"timezone" : ""
},
"type" : "schedule/v1/everyMonth"
}

Interval

Name: interval

Trigger off periodically, for example every minute or day, based on a set interval.

Type: LISTENER

Properties

NameLabelTypeControl TypeDescriptionRequired
intervalIntervalINTEGERINTEGERThe hour at which a workflow will be triggered.true
timeUnitDay of WeekINTEGER
Options 1, 2, 3, 4
SELECTDays at which a workflow will be triggered.true

Output

Type: OBJECT

Properties

NameTypeControl Type
datetimeSTRINGTEXT
intervalINTEGERINTEGER
timeUnitINTEGERINTEGER

JSON Example

{
"label" : "Interval",
"name" : "interval",
"parameters" : {
"interval" : 1,
"timeUnit" : 1
},
"type" : "schedule/v1/interval"
}

Cron

Name: cron

Trigger off based on a custom schedule.

Type: LISTENER

Properties

NameLabelTypeControl TypeDescriptionRequired
expressionExpressionSTRINGTEXTThe chron schedule expression. Format: [Minute] [Hour] [Day of Month] [Month] [Day of Week]true
timezoneTimezoneSTRING
Options Etc/GMT+0, Etc/GMT-1, Etc/GMT-2, Etc/GMT-3, Etc/GMT-4, Etc/GMT-5, Etc/GMT-6, Etc/GMT-7, Etc/GMT-8, Etc/GMT-9, Etc/GMT-10, Etc/GMT-11, Etc/GMT-12, Etc/GMT-13, Etc/GMT-14, Etc/GMT+1, Etc/GMT+2, Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8, Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12
SELECTThe timezone at which the cron expression will be scheduled.null

Output

Type: OBJECT

Properties

NameTypeControl Type
datetimeSTRINGTEXT
expressionSTRINGTEXT
timezoneSTRINGTEXT

JSON Example

{
"label" : "Cron",
"name" : "cron",
"parameters" : {
"expression" : "",
"timezone" : ""
},
"type" : "schedule/v1/cron"
}