The Options tab in the Step Details panel allows you to configure a step to be run according to a schedule you set. 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 Server Advanced role, the step runs automatically at the scheduled date and time. When a time is defined, the time zone configured for Workflow Manager is used.
If Workflow Manager is federated with a wildcard or domain-signed security certificate, you must import the root certificate into your ArcGIS Enterprise portal to allow scheduled steps to run automatically.
If you need to schedule the first step in a workflow diagram, you must configure a Manual Step without a User Prompt and Step Help as the first step in the workflow diagram and set it to run automatically. 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:
- Hour of Day—Run at a 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.
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.
You can also define the number of minutes used to offset the step's run time to prevent multiple jobs from starting a scheduled step at the same time. For example, setting the run time to 16:45 hours with an offset of 5 minutes would result in a run time between 16:40 hours and 16:50 hours after the step becomes active.
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 must be started manually.