wait Step

Use this step to make an instance wait for a specific duration.

Last published at: January 5th, 2026

Description:

This step puts the instance into a “wait” or “sleep” state, which consumes no CPU resources. The “sleep” state can be configured for durations ranging from seconds to years.

 

Inputs

  • startDate – start date
  • timeZone - select time zone
  • waitNum – how long to wait for?
  • includeWeekends – include weekends for days
  • waitType – type of wait in seconds, minutes, hours, days, months, years 
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

Usage: 

 

 

Example:

Let’s build and execute the “waitDef” example.          

  • Create a new process definition called “waitDef” and open it in Designer mode. 
  • Drag a “wait” step to the canvas.
  • Connect the dots between the “Start” and “wait” steps, as shown above. 
  • Click the "wait" step to configure its "Required" properties. Provide a name for the step. Enter the duration and time value to wait. Select the wait interval type from the drop-down list (minutes, hours, days, months, years, seconds). Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description. 

 

  • Click the "wait" step to configure its "Required" properties. Select the time zone from the drop-down list. Specify the start date and time. Set to “ON” if the wait interval should include the weekend in the count. Click the Save button. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new instance, and execute it. Render the process instance. The process step remains in “sleep” mode for the duration of the wait interval. Click the Items—Engine Alerts menu option to view the step status. 

 

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page. 

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.