Pausing the flow execution with the Wait shape
The Wait shape enables the user to pause the flow execution for a specified duration. This shape can be used when an unconditional wait is required in the flow. When the specified wait duration has lapsed, flow execution automatically resumes with the next shape in the flow.
This shape supports the following modes for specifying the wait duration:
- Offset - Use this mode to set the wait time to a specified duration from when this shape is executed. Use the Days, Hours, Minutes, and Seconds fields to specify the offset. Optionally, enable the Business Days check box to apply the specified offset only using business days.
- Date/Time - Use this mode to set the wait expiration time to a
specified future date and time. Specify the desired date and time.
- Property - Use this mode to set the wait expiration time using the
value of a date time property or expression. Select the desired property or specify the
desired expression.Ensure that the specified property (or expression) will have a valid date and time value during action runtime.
Users can also enable a wait in flow execution on wait-based delivery shapes. This includes the Send Email, Send SMS, Send Passbook, Send Generic, Send Multiple Treatments, and Push Notifications shapes. To enable the wait and configure the wait options (listed above), enable the Wait after sending check box on these shapes.