Execution flow allows managing the sequence of process actions. To set the conditions and action execution order, you can use transitions, escalation, XOR gateway, and loops.
Activities are performed in the sequence they are placed in the diagram. However, in some cases, the bot needs to first finish one branch, and then start an activity in another one. This is where we use transitions.
To set a transition:
- Select the starting activity for the transition and click on the button.
- You will see a notification asking you to select an activity the transition will lead to. Click on the required activity.
- After that, the button will be displayed on the activity with the outgoing transition. When you click it, the connected activities will be highlighted.
To delete the transition, hover over the GO-TO button and click on the icon that appears.
Here is an example of running a process by two branches depending on the condition.
When launching a program or a website, you need to check if you have logged in the system. To do this, you can use the XOR gateway that allows creating two branches. If you are logged in, a particular sequence of actions is performed (default transition). If not, the process takes the second branch that contains actions for logging in the system.
After performing the second branch, you need to perform the actions from the first branch. To do this, create a transition between the last activity of the second branch (actions for logging in the system) and the first activity of the first branch (actions in case you are not logged in).
Escalation is an automatic exit from an operation in case of errors in the activity performance.
To create an escalation, select an activity and click the button. A second transition from the selected activity will be created, and you will be able to set the sequence of actions for it. The process will take the second transition in case of errors during the activity performance. To delete an escalation, click the button.
Read more about XOR gateway and loops in the corresponding articles.
Found a typo? Highlight the text, press ctrl + enter and notify us