Circuit States | Online Help | Qntrl | Circuit | Building blocks of a Circuit in Qntrl

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 states are categorized as follows:

  • Flow Controls

  • Functional states

  • Bridge Controls


Flow Controls 

Flow controls help you create complex workflows that orchestrate the flow of logic and data in the circuit. Flow Controls comprises the following states:

  • Pass - Passes input from one state to another.
  • Branch - Defines the execution branches; the input and/or output of a state directs the execution flow.
  • Parallel - Performs simultaneous executions.
  • Wait - Inserts a delay for the specified time.
  • Batch - Implements multiple group executions.
  • Success - Terminates an execution, returning success status.
  • Failure - Terminates an execution, returning failure status.
Functional States  

Functional states help you create real-time workflows to execute business logic in a circuit.  You can accomplish this by composing functions using a built-in editor, generating webhooks through links, or linking circuits within a circuit.


Functional states available in the circuit are:

Bridge Controls  

These controls are used to perform certain operations in an application, a database, or computer in any private network. The tasks in these controls require the bridge agent to be deployed and active in the end user's network. To know how to deploy a bridge, click here.

Following are the Bridge Controls:
  1. Task Engine - Connects and executes an API from a closed space.
  2. DB Task - Executes a SQL query in a Database hosted on a private network.
  3. SSH Task - Perform actions using shell command or script in the intended Unix/Linux machine.
  4. Files - Create workflows for file management.
    1. File Upload
    2. File Transfer
  5. AD Task - Integrate and perform actions in the AD service in the client network.
    1. Add AD Group
    2. Add User to Group   
    3. Add AD Computer
    4. Enable AD User  
    5. Disable AD User
    6. Reset AD Password
    7. Unlock AD User
    8. Remove AD Object                  
    9. Update AD Object
    10. Read AD Object
  6. PowerShell task Engine - Perform actions using PowerShell command or script in a Windows machine.
    1. PowerShell Engine
    2. Install WindowsApp
    3. Uninstall WindowsApp
    4. Start Service
    5. Stop Service    
    6. Restart WindowsServer  
Every State is defined by a set of attributes; most of the attributes are common for states, and a few states have some exclusive attributes as well.  Each state must have a Type field indicating what type of state it is.  Except for Success and Failure states, the rest require a Next field or can become a terminal state by specifying an End field.

Common State attributes

In a circuit, the attributes must be defined for each state deployed. As explained above, some of the attributes are common to all states. The common attributes to be defined for each state are given below. 
  1. Name: A unique name assigned to states when they are added to a circuit to identify the states within the circuit. Name can be modified under the  Configuration section available on the right pane.
  2. Type: The actual state type is mentioned in this field. While you drag and add a state to the circuit, the state will be automatically allocated in the Type field. You can also select the state from the dropdown list available in this field.
  3. Next State: The name of the next state that has to be run after the completion of the current state is given in this field. Except for the terminal states 'Success' and 'Failure', all the other states must define this field. The last state of the circuit should be assigned the next state value as End.
  4. Input Path: Allows you to control the actual input passed to the state. It selects parts of the input JSON to pass to the state.
  5. Result Path: Allows you to manipulate the output of a state. After the input is processed by the state, the result path determines what combination of the state result and the actual state input has to be passed to the output.
  6. Output Path: Output path further filters the data from the Result Path to pass it as state output.
  7. Parameters: Parameters allow you to control the actual input passed to the state. It enables you to insert a collection of key-value pairs into the input. Parameter values can either be static or parts of the input JSON selected as paths.
Every field and its values are case-sensitive. Once a value is defined, the exact value must be passed throughout the Circuit.

For more details visit the Input and Output processing section.



Next : Pass state

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION









                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • 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 ...
                                                                                                              • Other actions in Circuit

                                                                                                                To manage and organize circuits in your account, hover near the name of the circuit in the Circuits list view page and click , mouse over action menu next to the name. You have options to Rename, Preview, or Delete your circuit from here. Rename: ...
                                                                                                              • 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 ...
                                                                                                              • Create and configure a Circuit

                                                                                                                Create a Circuit Log in to Qntrl. Navigate to (settings) >> Automation >> select Circuit. Click Add New Circuit. Alternatively, you can also select New Circuit at the top-right corner of the home page. Specify a unique Name and add a Description for ...
                                                                                                              • Test/Execute a Circuit

                                                                                                                Once you configured your circuit: You have options to either Save the Circuit or to Save and Execute the circuit. When you choose Save and Execute, a pop-up will appear with predefined JSON input. If required, you can edit the JSON input with the ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources