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. 
Notes

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

    • Execution Logs

      A record of all tested executions is maintained in Circuit, allowing you to access and re-run specific executions anytime. Follow these steps to access the execution history of a circuit: Access Execution History Go to the left pane and click on the ...
    • Introduction to States of Circuit

      States are the building blocks of a circuit that can perform tasks, make decisions, or simply pass the output from one state to another. The state defines a specific task or process that has to be executed in that segment of the circuit. Circuit ...
    • Test/Execute a Circuit

      Once you configured your circuit, you have two options: Save: To save your current circuit configuration. Save and Execute: To save and immediately execute the circuit. When you choose Save and Execute: A pop-up window with predefined JSON input will ...
    • Error Handling

      In Qntrl Circuit, you can configure error handling while building a circuit. State definition errors are detected even before saving the circuit. When you save the circuit, a compilation check runs and lists out errors related to its state ...
    • 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 ...

    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.