Show TOC

Using the Condition EditorLocate this document in the navigation structure

Use

You define routing conditions with the condition editor.

Features

You now have the following options:

  • Specify a single logical expression in a table row. In a logical expression you link two operands to each other by using an operator.

  • You can combine several logical expressions (table lines) to form a complex condition by using the operators AND and OR

Create Logical Expression in a Table Line

Specify an element from the message payload with the expression in the left operand. With the expression in the right operand, specify a fixed value with which the value of the element is to be compared at runtime (by connecting a relevant operator in the Op column).

You can create an expression with the expression editor for the left operand. You must specify a value for the right operand.

For more information, see: Using the Expression Editor

The available operators are:

Operator

Description

=

Equal to

Not equal to

Contains Pattern (CP)

You use this operator to query a string with a pattern. You can use the following characters for this:

  • + for any single character

  • * for any character string

Example

*mploymenttaxdeclarat+on ≈ annualemploymenttaxdeclaration.

EX

Exists

You use this operator to check the existence of the expression (in the left operand). This enables you to find out whether a substructure represented by the expression exists.

You can use this operator if you want to check whether a particular element exists in the payload, for example. To do so, enter the element you want to check in the left-hand operand and leave the right-hand operand empty. You can also use the = operand for this check.

Linking Several Logical Expressions with Each Other

The following options are available for inserting multiple table lines and linking the expressions in these lines to each other logically:

Option

Function

Add Group

Inserts a new line for a new logical expression below the selected line.

The new expression is linked to the expression in the selected line by the OR operator.

Insert Expression

Inserts a new line for a new logical expression below the selected line.

The new logical expression is linked to the expression in the selected line by the AND operator. Expressions that are linked through an AND operator are combined using a parenthesis symbol.