Create a Scheduled Workflow v2
Use a Schedule trigger to start the latest published and enabled Workflow at Site-local times.
Add the trigger
- Create or open a Workflow in the Test Environment.
- Add the
ScheduleNode as the first root Step. - Choose
Daily,Weekly,Monthly, orCron. - Configure the schedule:
- For
Daily, enter a start time, end time, interval, and interval unit. - For
Weekly, also select the days of the week. - For
Monthly, select the days of the month and months. UseLastwhen the last calendar day is required. - For
Cron, enter a six-field expression that includes seconds.
- For
- Enable
SingleInstanceif a due occurrence must be skipped while this Workflow is already running. - Add the Steps that perform the scheduled work.
Daily, Weekly, and Monthly intervals use minutes or hours. The permitted value is 1 to 59 minutes or 1 to 23 hours. A time window can cross midnight.
Test the work
Run the Workflow in Debug. A Debug run supplies a synthetic schedule event so downstream mappings can use ScheduledTimeUtc, ScheduledTimeLocal, TriggerKey, and FireId without waiting for the schedule manager.
Debug proves the design but not the published schedule. Check Problems and logs, then save the revision.
Publish and enable
- Publish or promote the revision to the target Environment.
- Confirm that the target Environment uses the expected Site time zone.
- Enable the Workflow in that Environment.
- Confirm that its selected Cluster and Connections are available.
- Wait for the next due occurrence and inspect Workflow logs.
The scheduler evaluates due work on a 30-second tick. A scheduled time is therefore not a hard real-time guarantee. If the service observes a missed occurrence, it dispatches one misfire and advances from the current time instead of replaying every missed slot. A failed dispatch is retried on a later tick.
When SingleInstance is enabled and an instance is already running, the due slot is recorded and skipped; it is not queued for overlap.
See also
See Schedule Expressions, Triggers, and Enable and Disable a Workflow.