Previous Topic: Reuse VariablesNext Topic: The if Statement


Conditional Statements

The CA Process Automation expressions recognize the JavaScript conditional statements. The if conditional selection evaluates a single Boolean condition while the else if conditional evaluates a series of Boolean conditions. CA Process Automation conditional statements expecting a Boolean value recognize 0 as False and any non-zero integer as True. CA Process Automation expressions also support the switch statement, which allows for multiple outcomes when evaluating a single variable.