Page Validation
The options available on the Page Validation tab are outlined below.
Page validation options
The type of forms that users are processing determines what type of page validation should be selected. Page validation in the Classification module determines how pages are combined and validated during the classification process. Users have several choices in how pages are treated once a form type is identified / matched to a classification rule. In validation methods that require page count, counts are referenced from the Form ID definition. Below are the types of validations and an explanation of the behavior:
-
Loose page count validation: With this validation method, once a form is identified, subsequent pages are added to the form until the page count is reached, or until another form is identified. This method can be utilized with both fixed-page-count forms and variable-length documents like invoices in mixed batches.
-
Strict page count validation: In strict mode, the product counts the form pages, and if they do not equal the page count defined in the form definition, an exception occurs.
-
No page count validation: With this method, page counts are totally ignored, and the combining of pages occurs based on the selected option:
-
Combine non-classified documents with previously classified document.
-
Combine classified document with previously classified document if they have the same form ID.
-
Last Page Rule validation options
-
When a Form is matched that has Last Page Rules defined...: This option enables/disables Last Page Rule processing.
If Last Page Rule processing is enabled and a form definition contains Last Page Rules, then when that form is classified, all other page validation and classification is disabled and classification only searches for a matching last page for that form. Once is it is found, all pages up to that page are added to that form and classification switches back to normal processing, looking for matches for all defined forms. The application also handles the special case where the first page of a form is also the last page.
If a form definition does not contain Last Page Rules, then the selected option under Page Validation options is used (described above). This way, users can mix both types of validation in case they are not able to use Last Page Rules for all of their forms.
-
Classification should fail on a Document if...: If selected, this function validates that the page count on documents (that have run through Classification restructuring) matches the page count defined on the form that document was classified as. If the page counts do not match, the document fails classification and an alert with the appropriate error message is attached to that document. Since it fails classification, the Classification Validation dialog is displayed with that document marked as failed.
-
Start new Document if classification of a new Form...: If selected, a new document is created if a new form ID is triggered before the Last Page Rule is processed.
-
Only start a new Document if Form ID is different...: If selected, a new form ID is created only if the form ID is different than the one being checked.
Other validation options
Select the check box if classification should fail on a document if the page count on the document does not match the page count defined in the form.