Defining conditions

A condition defines which documents are relevant and which ones are not.

  • In a filter step, the used condition is selected. If that condition is met (in other words, it evaluates to 'true') then the document is passed on to the next activity. If the condition is not met (it evaluates to 'false') then the document is not passed on.
  • In a routing step, for each input document, all required conditions are defined.

To specify a condition for a filter or for the routing branches:

  1. Select Connect > Data Flows.
    A list of existing document flows is displayed.
  2. Click the Conditions tab.
  3. Click Add to add a new condition.
  4. Specify a name for the condition.
  5. Select the condition type.
    These types of conditions can be used:
    • Attribute-value comparison, to check an attribute value. For example, Status = Open.
    • Attribute comparison, to compare two attribute values. For example, Discount > StandardDiscount.
    • Attribute Existence, to check whether a given attribute exists.
    • Combined conditions, to combine two other conditions using or or and. For example, Status = Open and Discount > StandardDiscount.

    These condition types and the properties to be set are described in more detail later.

  6. Click OK to close the dialog.
  7. Add more conditions, if combined conditions are needed.
    For example, first create an attribute-value comparison condition, then add an attribute comparison condition and then add a combined condition to combine these two.