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.
You can configure the Circuit in two different ways.
Builder View
Code View
In Builder View, you can construct your circuit with readily available states in the left pane. States are the building blocks of a circuit that can perform tasks, make decisions, or simply pass the output from one state to another.
Circuit states are categorized as follows:
Flow Controls
States
To explore more about the States in the Circuit, check out States of Circuit.
Constructing a circuit in Builder View involves two steps:
Add a State
Define a State
Step 1: Add a State in Builder View
Drag and drop them from the left pane onto the visual workflow. This action prompts a pop-up window to appear.
Enter a unique name for the state.
Select the Previous State and Next State between which the new state needs to be added. When you create the first state, the previous state and next state will be 'Start' and 'End' by default.
Click Create. The state will be displayed in the flow diagram.
Step 2 : Define a State
Click Save.
Constructing a circuit in code view involves the following steps:
States are made up of attributes. Enter a state name. Define the attributes for the state as key-value pairs.
Define the below common fields of the state
name: All states must have a unique name to identify them within the Circuit. In the above displayed circuit, 'Create User' is the name of the circuit.
type: The actual functionality of the state is referred to by its type.
next: The name of the next state to run after the completion of the current state. In the above Circuit, 'End' is the next state for Create User.
Define the unique fields of the states. Refer to the States of the Circuit to explore the fields for each state.
Provide error handling options using the onError attribute for state types Function, Webhook, and Circuit.
Provide the Bridge ID and configuration details for Bridge controls.
Specify the inputPath, outputPath, and resultPath for Input and Output processing.
Click Save.
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.