Logical Operators
The following logical operators can be used when defining conditions, for instance on outgoing flows of decisions or in boolean expressions:
Operator | Description |
---|---|
evaluate a string against a regex pattern | |
< | less |
<= | less or equal |
> | greater |
>= | greater or equal |
= | equal |
<> | not equal |
!= |
In order to negate a boolean value or expression, use the boolean not() function, for instance not(a and b).
Examples
set aBoolean = 2 < 1;
set s = condition (i1 != i2, "abc", "xyz");