Help > Setting up XBOUND > Processes > Controlling process/document flow > Specifying which documents to route to a process step

Specifying which documents to route to a process step

After you add process steps to your process and specify their sequence, you can customize the process rules to control which documents to include or exclude from the processing step. For example, you can include only a specific document type, or you could exclude document that contain a field with a certain field value.

This is required when you branch the process flow, if you want to prevent documents from being routed along multiple branches of your process.

It is also possible to use AND/OR expressions or sub-expressions to specify complicated conditions.

Tip 1: You can use this procedure to keep documents in the current process step until they meet specific criteria. To do this, draw the arrow in a loop, just as it is shown in this example. Then configure the rule as described in the instructions.

Tip 2: A similar procedure to the one described in this topic is processing documents and media that meet specified criteria, using filtering. In that case, documents that do not meet the specified criteria are simply passed to the next step. With a process rule, such documents would not even reach the step that the arrow points to. ClosedExample that compares the two:

Note: Document types are required. See Creating or editing a document type.

Use this procedure

  1. In the Process Design view of the Process Designer, double-click the process rule (the arrow) for which you want to formulate a rule.

  2. In the Edit Process Rule dialog, click the New Expression button.

  3. Click in the Operands column and select a condition to base processing on:

    • Document type – Documents of the type you specify are processed (or excluded from processing).

    • Document status – Documents with the validation status (status object value) and (optionally) the document type you specify are processed (or excluded). Opens the Document Types dialog.

    • Status field value – Documents with status fields with a specified name and value are processed (or excluded). Opens the Status Fields dialog.

    • Field status – Documents of a certain type, with the field name and field status you specify, are processed (or excluded). Opens the Field for Rule Expression dialog.

    • Field value – Documents of a certain type, with the field name and field value you specify, are processed (or excluded). Opens the Field for Rule Expression dialog.

  4. Click in the Operator column and select the desired operator.

    You can select from these operators (depending on which operand was selected):

    • equal – The operand is equal to the value you specify

    • not equal – The operand is not equal to the value.

    • less – The operand is less than the value.

    • less or equal – The operand is less than the value or equal to the value.

    • greater – The operand is greater than the value.

    • greater or equal – The operand is greater than the value or equal to the value.

    • match – The operand matches the pattern of the value (the value being interpreted as a regular expression).

  5. Click in the Value column and select a value from a list or type a value. (The available options depend on which operand you selected.)

  6. Repeat for each additional expression you want to add.

    • To combine an expression with another expression using a higher priority (such as is signified by using parentheses in mathematical expressions), select an expression and then click New sub-expression instead of New expression.

    • In the And/Or column, specify how to connect the expressions.

  7. Optional: Apply the process rules to sub-documents.

  8. Click OK.

  9. Save the process by clicking the Save button:

After you specify a condition, the process rule arrow turns green (if there is no condition, it is blue) and contains a flag symbol ().

Rerouting documents manually

Configuring an XBOUND process: Overview

Processes: Overview