Integrate a Circuit into a Circuit | Online help | Qntrl | Circuit

Circuit

Circuit enables you to create automated workflows for IT and business by organizing a sequence of tasks. In certain cases, a process might include complex sub-processes that can be constructed as separate standalone circuits. These circuits can be activated from your primary circuit when required.
 
Prerequisite
Create a circuit with required states by giving relevant field details. Click here to learn how to create a circuit.

Example Use Case:

In employee onboarding, the Circuit state can be applied in two situations:
  • One case is to create a distinct circuit for the asset allocation process. This Circuit can be nested within the circuit designed for New Employee Onboarding in one of the Parallel states. By utilizing the Circuit state, this Asset Allocation circuit can be invoked to facilitate employee provisioning.
  • Similarly, when onboarding multiple employees, a batch process can be initiated where multiple New Employee Onboarding circuits are invoked in groups. Within each circuit, the Asset Allocation circuit can be invoked again.

Builder View

In Builder View, to integrate a circuit into a circuit:
  1. Drag and drop the Circuit state from the left pane into your circuit or click the required Circuit state in your circuit.
  2. Under Configuration, update the common state field attributes.
  3. Type Circuit is selected by default. Select the Circuit Name to be added to the circuit from the drop-down list.
  4. Specify the Error Handling options for the state. Learn more about Error Handling.
  5. Under Input / Output on the right pane, define the required paths. Learn more about I/O paths.

 

      

  1. Click Save and Execute.
  2. Specify the test data as Input JSON for your test run, then click Next.
  3. Name your test run by providing a unique name for this execution. Click Run.
  4. Check for the data received from the circuit.
  5. Modify your circuit settings if failure or data mismatch is encountered.
  6. Repeat this test until you get the required result using your circuit.

Code View

In Code View, the JSON to configure the Circuit state is given below:
"Asset Allocation": {
"type": "circuit",
"next": "End",  
"circuit_id": "employee_asset_allocation_30",
"on_error": [
{
"error_type": "execution_failure",
"retry": {
"delay": 5,
"attempt": 3,           
"step_delay": 2
}
}
]
}




Next: Task Engine state

    • Related Articles

    • Other Actions in Circuit

      Quick Actions in Circuit To manage and organize circuits in your account: Hover near the name of the circuit in the Circuits list view page. Click on the action menu next to the name. From the action menu, you can: Edit Circuit: Change the name and ...
    • 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 ...
    • Features of Circuit

      Configure with or without code Circuit provides a platform to build workflow orchestrations with or without code. You can either visually design the Circuit schematics by dragging and dropping its elements in Builder View, or build its JSON code in ...
    • Parameters in Circuit

      Parameters in Circuit allow you to use dynamic values in your automated workflows, making it easier to customize and control various parts of your process. These parameters are created in the ConfigStore and can be referenced throughout the different ...
    • Create and Configure a Circuit

      Create a Circuit Log in to Qntrl. Click Circuit from the left pane, then click New Circuit. Specify a unique Name and add a Description for the Circuit. Click Save. A sample circuit with the Pass state and name as 'State1' will be created by default, ...

    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.