Pausing a Flow’s Progression with the Pause Flow ComponentLast Updated: 05/02/2018 Introduced in Version: 2.0
The Pause Flow component delays processing the next step of a flow until a specific date and time, or until a time duration has elapsed.
To add a Pause Flow component to a flow, in the Flow Designer’s Toolbox panel, under the category Flow Management, drag a Pause Flow component to the workspace and set the pause time duration in the Mapping Editor.
Our example flow will add a document containing email addresses, pause until an appointed time, then send an email. We’ll begin with the first and last steps of our flow. A simple [Form] Send Email 1. and Send Email Step have been completed beforehand.
Drag a Pause Flow component, from the Toolbox > Pause Flow section, to the workspace and connect the paths.
To configure our Pause Flow, we’ll click the Edit Input Mapping link in the Properties panel.
In the Mapping Editor, notice the lone input for our Pause Flow component is ResumeWhen, which is currently mapped as “Unknown.” Because we want our flow to resume at a specific time (rather than after a set duration), change the mapping type of ResumeWhen to Constant Date and Time.
The current time in our example is 15:42:00. Set ResumeWhen‘s value to 15:44:00 today, and click OK to close the Mapping Editor.
Our flow is complete and ready to test in the debugger. When we begin our debugging session, the current time is 15:42:00. After a few seconds, our flow enters Pause Flow.
At exactly 15:44:00, our flow resumes with the step Send Email Step and is finished.