Description
Executes one of two branches, depending on whether a specified condition is met. The branches are entitled True and False by default, but their names can be changed.
Properties
- Condition: The condition or VB Code to be analyzed before one of the two branches is executed. This field supports only Boolean expressions. Therefore, any Boolean variable can be used without any further conditions. Any other variable type needs a condition to result in a true or false case (for example, Name.contains("John")).
- FalseLabel: Provide a description of the case in which the condition is met. By default, this is filled in with False.
- TrueLabel: Provide a description of the case in which the condition is met. By default, this is filled in with True.
Example
Decisions are mainly used to check variables in the workflow and to decide with which variant the process should be continued. If the variable is an Integer, the decision could look as follows:
Tips and Tricks
-
The operators "=, <> ( not equal to ) , <, >, +, -" can only be used with Integers. Common operators for Strings are ".Contains, .Equals, .StartsWith".
-
See the Visual Basic Text Expressions chapter of the Hyland RPA Designer documentation for more information.
Troubleshooting
Unfortunately, the decision does not support the displaying of the red exclamation mark. If you see this message at the top of the workflow, one of your decisions is empty.