Add or Modify Expression

Use the Add Expression or Modify Expression window to define expressions, which are logical statements that check the value of a field to determine if the record might be considered an exception. You must add at least one expression to a condition.

To add an expression, click Add. To modify an existing expression, click Modify. Then complete these fields:

  • Expression created with Expression Builder—Select this option to create a basic expression.
  • Custom expression—Select this option to write an expression using Groovy scripting. If you need to use more complex logic, such as nested evaluations, use a custom expression. For more information, see Using Custom Expressions in Exception Monitor.
  • If other expressions are already defined for this condition, you can select an operator in the Logical operator field. One of the following:
    • And—This expression must be true in addition to the preceding expression being true in order for the condition to be true.
    • Or—If this expression is true the condition is true even if the preceding expression is not true.
  • If you chose to create an expression with expression builder the following fields are available:
    • Field name—Select the field that you want this expression to evaluate. The list of available fields is populated based on the stages upstream from the Exception Monitor stage.
    • Operator—Select the operator you want to use in the evaluation.
    • Value—Specify the value you want the expression to check for using the operator chosen in the Operator field.