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

    • Function

      A Function is a serverless, simple programming script that can handle a variety of tasks and integrate with other tools to create robust automated workflows. You can write Functions in Python, Node.js, Java, and Zoho Deluge, and perform seamless ...
    • Quick onboarding guide

      Introduction to Qntrl Qntrl is workflow automation software that helps organizations take the lead in automating their everyday workflows. The mainstay of organized businesses are their time-tested workflows, seasoned with practice and expertise. To ...
    • 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 ...
    • Build and Share Circuit Templates with Qntrl Studio

      Early Access Circuit Templates in Qntrl Studio is not enabled for all users. If you’d like to try it out, please email our support team for early access. Qntrl enables you to create pre-configured, ready-to-use Circuit templates that can be installed ...
    • 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 ...

    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.