Configure Wait state in Circuit | Qntrl | Circuit | Online Help

Wait

The Wait state introduces a pause or delay within your circuit, temporarily halting the execution for a specified duration before resuming and progressing to the next state. The delay duration can be configured in seconds. For example, if you set a delay of 50 seconds, the circuit will be triggered 50 seconds after the completion of the previous state.
 
Example Use Case: Incorporate a Wait state during the employee onboarding procedure, say 24 hours, specifically between the verification stage (Branch state) and the provisioning stage (Parallel state), to allow sufficient time for the employee to complete the orientation process. 

You can insert a maximum of 30 days (25,92,000 seconds) as a wait period.

Builder View

To insert a delay in the Builder view:

  1. Drag and drop the Wait state from the left pane into your circuit, or click the required state in your circuit.

  2. Under the Configuration section, update the common state field attributes and select the Type as a Wait state.

  3. In the Duration field, define the wait period in seconds, say 172800 seconds (24 hours).

  4. To configure the Input Path and Output Path to a Wait state, visit the Input and Output Processing section

      


Code View

In Code View, you can add the wait time in the duration key.

Wait state example:
"Wait period for Orientation": {
  "type": "wait",
  "next": "Parallel IT Tasks - Employee Provisioning",
"duration": 172800
}





Next : Batch state

    • Related Articles

    • Automate transitions

      Using Qntrl, you can configure transitions to be executed automatically by setting a wait time or a condition. Automate by time Transitions can be configured to execute automatically after a specific time frame. Navigate to Boards , hover over any ...
    • Summary

      Introduction Circuit is a platform for integrating micro-services to create automated workflows for IT and business processes. With fine-grained flow controls, you can create automated processes with little or no code. Workflows created in Circuit ...
    • DB Engine

      DB Engine is used to connect with the database in the client's machine or client's network and perform READ/INSERT/UPDATE operations in the database. The DB Engine configured in Bridge can be utilized in the following two distinct modules within ...
    • Parallel

      Parallel state allows you to process multiple states in parallel and perform simultaneous executions. The executions are initiated at the same time, and their input, output, and results are processed and generated concurrently. Additionally, the ...
    • Result Selector and Result Path

      Result Path and Result Selector are employed to extract dynamic data from the state's result when the execution is successful. Result Selector Result Selector lets you retrieve and process the runtime data, enabling flexible and dynamic data ...

    You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.