Create a Scheduled Workflow v2

Use a Schedule trigger to start the latest published and enabled Workflow at Site-local times.

Add the trigger

  1. Create or open a Workflow in the Test Environment.
  2. Add the Schedule Node as the first root Step.
  3. Choose Daily, Weekly, Monthly, or Cron.
  4. 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. Use Last when the last calendar day is required.
    • For Cron, enter a six-field expression that includes seconds.
  5. Enable SingleInstance if a due occurrence must be skipped while this Workflow is already running.
  6. 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

  1. Publish or promote the revision to the target Environment.
  2. Confirm that the target Environment uses the expected Site time zone.
  3. Enable the Workflow in that Environment.
  4. Confirm that its selected Cluster and Connections are available.
  5. 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.