Condition#
The block checks the specified condition for truthfulness, and depending on the result, the scenario execution continues towards the "Yes" exit (the condition was met) or "No" exit (the condition was not met).
For example, the condition $a == "Hello" checks whether the value of the variable $a is equal to the value "Hello", while the condition $Result > 5 checks whether the value of the variable $Result exceeds 5.
The condition can contain mathematical and logical operations, constants, functions, other variables, etc. Examples of expressions that can be used in conditions are available by clicking the button
next to the Condition property.
| Condition | [Any expression] Depending on the value of this expression, the scenario execution will continue with the "Yes" or "No" exit. The value of the expression equivalent to
For example, if the variable |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Exit Direction | Select the exit direction from the block in case of an error. Possible values:
This property allows you to determine the exit direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block). If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that the blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |