Boolean Operators
The following boolean operators can be used when defining conditions, for instance at decision points or in boolean expressions:
and
or
Examples
set aBoolean = b1 or b2;
set s = condition (b1 and b2, "abc", "xyz");
Short-Circuiting
The boolean operators of the Designer support short-circuiting. This means that the second operand is evaluated only when the result is not fully determined by the first operand.
For instance, you can use the following guard expression for a decision:
aString.exists() and aString like "Hello World!";
If aString has not been created yet, the second operand aString like "Hello World!" will not be evaluated.