Exclusive OR gateway

A gateway is a decision point before a fork in the process. An exclusive OR gateway allows you to direct a process over a particular branch depending on certain conditions. You set the transition conditions, and when the process reaches the gateway, the system selects the transition for which the condition is met. It directs the process to only one outgoing transition.

You can set several conditions. After adding every new condition, a new transition is created on the diagram.

One outgoing transition is automatically added by default and is marked on the diagram as follows: 39. It is activated if no conditions are met.

It’s convenient to use the gateway to check the field filling. For example, when opening a 1C document the bot checks if the “Comment” field is filled in. In case the field is empty, the bot closes the document. Otherwise, it copies the comment. Another way of using the activity is checking the websites availability without starting the browser.

To set a gateway, drag it from the Palette tab to the activity you need to set a fork after, fill in the required fields, and click Save.


  • Name *. The gateway name.
  • Sequence flows. Set the conditions for the process to take a particular transition.

As a condition, you can use a website’s or an application’s availability, or a context variable:

    • Address. The URL of the website that should be accessible in order for the transition to occur;
    • Program. The name of the program that should be accessible for the transition to occur;
    • Property. The flow takes the transition if the context variable value corresponds to the set condition. The variable is compared to another variable or its precise value is set with operators.

You can compare variables of different types because their values are transformed to the String type for the check. Read more about the data types of the context variables in the "Process context" article.

In the Property field, select the context variable you want to set the condition for.

Specify what will its value be compared to:

    • Property. The value will be compared to another variable;
    • Value. The value will be compared to an exact value.

Select the operator for the context variables values comparison.




Greater than


Greater than or equal to




Less than or equal to

=, Equal to (case-insensitive)


<>, Not equal to (case-insensitive)

Not equal

Starts with, Starts with (case-insensitive)

Checks if the left value starts with the same symbol sequence as the right value. If the values are identical, the condition is also met.

Ends with, Ends with (case-insensitive)

Checks if the left value ends with the same symbol sequence as the right value.

Contains, Contains (case-insensitive)

Checks if the left value contains the symbol sequence the right value consists of. The match may be located in any part of the variable.

Does not contain, Does not contain (case-insensitive)

Checks if the left value does not contain the symbol sequence the right value consists of.

To create a new transition and set its condition, click the Add buttonbutton. To delete a transition, click the 37 button to the right of the condition.

To change the settings, click on the gateway on the process diagram and fill in the fields. To delete the gateway from the process diagram, click the 37 button under the condition line.