Example 2: Page-level rule execution
When a rule locates field zones on different pages, the rule must be run at the page level.
The default Recognize ruleset includes a rule that is called Recognize Page. This rule locates each field zone on the current page by using the positional information in the document hierarchy. The rule then uses OCR to get the data within each zone.
The rule must run at the page level because of these reasons:
- The fields are different for each page type (for example, the TravelDocs rental agreement page and the optional insurance page have different fields).
- The field positions are different for each variation of the page type. For example, the Car_Type field is at a different location on the page for each rental car company.
The position variables define the position of the field for each of the car rental agreement forms that are identified during fingerprinting. 678, 695, and 696 are the fingerprint IDs.
The Document Hierarchy shows that the Recognize Page rule runs at the page level for each page type.
The rule is not assigned to the page type Other because no fields are defined forOther.