Help ELMA BPM Platform
×
Menu

Settings of a Transition from Gateway


The settings window appears when you double-click on the connector in the graphic model or select Settings in the transition context menu.

Condition tab

The settings window of a connector going from an XOR or OR gateway, features the Condition tab. Here, you can specify a condition, which will allow the process flow to take this path
Fig. 1. Transition settings. Condition tab.

Table Condition Variant

In the table variant, you can add one or several conditions (in a sequence), as well as an activity that will evaluate the results of the condition check. If the result is “true”, the process takes the current path. In case of an XOR gateway, the process flow might not reach the transition in question, if either of the previously checked transitions is activated. The conditions are checked according to the Condition check order in gateway settings.
Under any condition, the process context variable can be compared to another context variable, with specified value, or with a system variable of the gateway, if it is set in the gateway settings (Fig. 2).
Fig. 2. Condition tab. Table condition variant.
- Add a condition. - delete a condition.
A link is an activity that is used to calculate the results of the condition check:
A link becomes available if you specify more than one condition.
Attention!
In the table of conditions, the AND and NAND links have priority over the OR and NOR links. For example, Condition1 OR Condition2 AND Condition3 NOR Condition4 NAND Condition5 = Condition1 OR (Condition2 AND Condition3) NOR (Condition4 NAND Condition5).
Operand 1 - process context variable or gateway service variable, if configured in gateway settings.
Operation - comparison operation.
Operand 2 - process context variable, a specific value or gateway service variable, if configured in gateway settings, to which the Operand 1 is compared.
To select a link, operand, and operation, click the corresponding link in the table.

Script Condition Variant

Fig.3. Condition tab. Script condition variant.
Select the script from the drop-down. A script is a function written in C#. You can either select it from the drop-down list or click the button. The script that you select must return a Boolean value (C# bool data type, "true" or "false").
The Go To button allows to go to the selected script on the Scripts tab of ELMA Designer. This tab features special tools that allow creating scripts, such as syntax highlighting, IntelliSence (completion of functions and variables), links to assemblies and web services. If a system variable is specified in the gateway settings, the script will display it as GatewayVar. The variable type is C# object.
Copyright © 2006–2019 ELMA