Overview
This guide will show how to pause and resume a flow on a specific date and time in Okta Workflows.
Solution
The following flow pauses for one minute and then resumes running.
Pause the flow for one minute.
Flow steps
The flow has the following steps.
Get current time
The Date & Time – Now card returns the current date and time.
Time to resume the flow
The Date & Time – Add card calculates when to resume the flow. The card adds time to the current time. The card supports the following time units:
- milliseconds
- seconds
- minutes
- hours
- days weeks
- months
- years
Resume flow
The Flow Control – Wait Until card sets up the time to resume the flow.
Flow resumes running
The Text – Compose card demonstrates the flow is running.
Result
When running the flow, it will pause for one minute. This can be configured for a longer period.
Pausing the flow for one minute.
The flow resumes after one minute.
The flow resumes after one minute.
