Page status
The confidence level does not directly affect the page status. For example, a page might have every character with a confidence level of 1 (lowest confidence) but the page status is 0 (good). To set the page status that is based on the confidence level of the characters on the page, use the ChkConfidence action.
| Library | Action | Description |
|---|---|---|
| DCO | ChkConfidence | Checks the confidence level of all characters. If the confidence level on any character is less than the value specified in parameter 1, the action assigns the status value in parameter 2 to the page. |
The Datacap Studio application wizard generates a default Routing ruleset the uses this action to set the page status.
Routing Rule 1 is assigned to each page in the document hierarchy and works as follows:
- ChkDCOStatus checks the page status and returns True if the page status is 1. A status of 1 typically signifies that there is an error on the page. If the action returns True, function 2 does not run.
- ChkDCOStatus returns False if the page status is 0 (or any other value other than 1). A status of 0 typically signifies that the page contains no errors. If the action returns False, function 2 runs.
- ChkConfidence examines the characters on the current page and sets the page status to 1 if any character has a confidence level of less than 8 (or the ReqConf value of the field.
Following execution of Routing Rule 1, any page that contains a validation error or a character with a confidence level less than 8 has Status = 1. You can configure Datacap to display only pages with Status = 1 as described in Show validation failures to an operator.