Configure Parallel state in Circuit | Qntrl | Circuit | Online Help

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 states exit only when all parallel tasks execution is completed. You can check the parallel processing from the execution logs after the circuit has been executed.

 

Example Use Case: In the employee onboarding scenario, once the employee documents have been verified, we can add a state to provision the verified employees within the organization. Provisioning involves executing multiple tasks in parallel, such as adding user details in Active Directory, adding the user to the team's channel, making an entry in the legacy database, and allocating resources. This parallel execution of tasks can be accomplished using the Parallel state, allowing all four tasks to be performed simultaneously.

 

Let us see how to configure the Parallel state in Builder View and Code View.

Builder View

In order to execute states in parallel, you must configure them as paths in the Parallel state.

  1. In Builder Viewdrag and drop the Parallel state from the left pane into your circuit or click the required Parallel state in your circuit.
  2. Under the configurations tab, update the common state field attributes and click Add Path, to add parallel states.
  3. Under Add Path section, in the Name field, provide a unique name for the path and in Start At field provide the state that needs to act as the root or starting point for the path.
  4. In the Input/Output section, you can configure the required paths for a parallel state as discussed in Input & output processing section.
      

If any path fails, either by an unhandled error or by transitioning to a failure state, the entire Parallel state is considered to have failed and all its paths are stopped. If the error is not handled by the Parallel state itself, the circuit terminates the execution with an error.

Code View

In Code View, along with the common fields, the paths are also defined with their unique name and root.


Parallel state example:

"Parallel IT Tasks - Employee Provisioning": {
    "type": "parallel",
    "next": "Onboarded Successfully",
    "paths": [
        {
            "name": "add_ad_user",
            "root": "Add User in AD"
        },
        {
            "name": "add_ad_group",
            "root": "Add User to AD Group"
        },
        {
            "name": "add_user_db",
            "root": "Add User in Legacy Database"
        },
        {
            "name": "add_asset",
            "root": "Asset Allocation"
        }
    ]
}



Next : Wait 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






                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Offline Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                                                                              • Parallel and Common Transitions

                                                                                                                Parallel Transitions  Some workflows require multiple transitions before they can move to the next stage. For example, when a customer purchases your product, several teams might be involved in processing the order, such as Finance, Legal, and Sales. ...
                                                                                                              • Sample Use Cases

                                                                                                                Payment process In a typical payment process, for every purchase made, a payment link with the invoice will be shared with the purchaser. Upon successful payment, a receipt will be generated, and in the event of failure, the entire process will have ...
                                                                                                              • 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 instance, if you set a ...
                                                                                                              • Other actions in Bridge

                                                                                                                View / Edit Bridge properties Once you create a bridge, you can view and edit its properties. Click the Settings gear icon at the top right of the header bar. Navigate to Advanced >> Bridge >> choose Bridge. In the bridge list page, choose the ...
                                                                                                              • Branch

                                                                                                                The Branch state allows you to add conditions to the circuit's workflow, and execute tasks based on those conditions. It decides the path of the execution based on input to this Branch state. This is similar to having an 'If else' or 'switch' case. A ...
                                                                                                                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