Command Conditions
In some cases, you might have to run a different set of commands depending on the context of execution. You can use conditional commands to achieve this flexibility. The Condition field for a command is used to define the situation under which the associated command steps execute.
Conditions are evaluated as boolean expressions. If the expression evaluates to true, the command is executed. If false, the command is skipped and the next command is evaluated. If no condition is specified, the command is always executed. The syntax of a condition is identical to the WHERE clause of a SQL statement, which allows enormous flexibility when evaluating scenarios. Table 5-7. Example conditions lists some example conditions.
Note: Be sure to place single quotes around string literals or tokens used to evaluate strings.
The condition can include tokens. For detailed information about using tokens, see the Commands, Tokens, and Validations Guide and Reference.