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

  • like
  • <
  • <=
  • >
  • >=
  • =
  • <>
  • !=

<> and != can be used equivalently.

Example File (Builder project E2E Action Language/BaseTypes):

<your example path>\E2E Action Language\BaseTypes\uml\boolean.xml

In order to negate a boolean value or expression, use the boolean not() function, for instance not(a and b). Refer also to not() Operation of Boolean Expressions.

Examples

set aBoolean = 2 < 1;
set s = condition (i1 != i2, "abc", "xyz");