Skip to main content
Skip table of contents

Boolean Operators

The following boolean operators can be used when defining conditions, for instance at decision points or in boolean expressions:

  • and

  • or

Examples

CODE
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:

CODE
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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.