The Options tab in the Step Details panel allows you to configure a step to be run according to a scheduled date and time. A step can be configured to run after a period of time, at a specific time, or at an exact time defined by an Arcade expression. When the step is activated, you can manually run it on the scheduled date and time. If ArcGIS Workflow Manager is licensed with the ArcGIS Workflow Manager Advanced organization extension, the step runs automatically on the scheduled date and time. When a time is defined, the time zone configured for Workflow Manager is used.
Tip:
To schedule the first step in a workflow diagram to run automatically, use a Manual Step as the first step in the diagram and configure the stepwithout a User Prompt and Step Help value. Then add the scheduled step as the second step in the workflow diagram.
The Wait a period of time option allows you to define the wait time in months, days, hours, and minutes. You can also define the number of minutes used to offset the step's run time to prevent multiple jobs from running a scheduled step at the same time. For example, setting a wait time of 45 minutes with an offset of 5 minutes would result in a run time between 40 and 50 minutes after the step becomes active.
The Wait until a specific time option allows you to define when the step is run using the following methods.
Note:
Scheduled jobs may be delayed past their scheduled start times in ArcGIS Online.
- Hour of Day—Run at the specified time.
- Day of Week—Run on the specified day of the week and time.
- Day of Month—Run on the specified day of the month and time.
Note:
When Day of Month is set to 31, the step runs at the end of the month if the month doesn't have 31 days.
- Month of Year—Run on the specified month, day, and time.
The Wait until an exact time defined by an Arcade expression option allows you to define the run time using an Arcade expression. For example, the DateAdd(Timestamp(), 2, 'hours') expression would result in the step being run two hours after the step becomes active. The expression must return a supported input for the Arcade Date function. If a time is specified in the expression, it must be defined in UTC format. If a date is provided and a time is not specified, the step is run at midnight UTC on the specified date. If the Arcade expression can't be converted to a valid date, a scheduled run time is not set and the step must be started manually.