Add document-level rules

There is only one type of configurable rule that can be applied to a class.

Every document of this class must have N pages.

This rule enables you to ensure a document contains the correct number of pages after separation. You can also add a Document Review scripted method.

Tip You can add more than one document structure rule of this type to a class. This means that you are not restricted to a single page count option. You can specify both a minimum page count using the "At Least" option, as well as an "At Most" value. This offers you flexibility for page count ranges.

For example, an organization processes applications for tax returns. Each tax form can contain two to ten pages. Pages are first scanned and classified before being separated automatically into documents. The organization would like to identify documents classified as tax forms that are either classified incorrectly or incorrectly separated.

A project that contains a class called Tax Form is created. This class has the following document level rules added:

  • Every document of this class needs to have at least 2 pages.

  • Every document of this class needs to have at most 10 pages.

When a batch using this configuration is processed, any single page document that gets classified as a Tax Form is flagged with a problem. Similarly, any Tax Form documents that have more than ten pages also have a problem.

You can add a document level rule by following these steps:

  1. Open the Project Tree window if it is not already open.
  2. In the Project Tree, select the desired class.
  3. On the Design tab, in the Create group, click Structure Rule.

    A new document structure rule with a default name is automatically added to the Project Tree, and the Details window for this rule is displayed.

  4. Optionally, rename the rule.
  5. Select a Rule type.
  6. Configure the dynamic options that are displayed based on the selected rule type.