loading table of contents...

5.5. Programming Expressions

Expressions come in two variants:

  • generic expressions and

  • Boolean expressions.

A generic expression must evaluate to a java.lang.Comparable result and can be used for example in a <Less> or <Greater> expression. A Boolean expression must evaluate to a Boolean result value and can be used for example in a <Condition> task.

Expressions can be used for many purposes in the workflow:

  • Guards for automated and user tasks

  • Preconditions and postconditions (assertions) in automated and user task

  • Validators for variable assignments in client views

  • Conditions for branching tasks

  • Guards for actions