Validation rules in Document Automation
- Updated: 2025/02/21
With validation rules, you can ensure the accuracy of extracted data across multiple fields in your documents.
You can define various conditions, such as pattern matching or equality checks. When those conditions are met, you can effortlessly take action to flag errors or warnings, clean up or replace values, or set new values.
- Field Rules
- Document Rules
Field rules
Field-level rules are designed to create rules specifically for individual fields. These rules contain a condition that is followed by a set of actions to be performed if the condition is met and is implicitly associated with the highlighted field.
These rules are processed before document-level validation rules.
Document Rules

- You can select one or more fields where these actions can be applied.
- The document rules can be structured with dependencies between fields, and their execution order is crucial. It is important to maintain the sequence.
- If you are using formula validation in document rules, ensure that all the fields used in the formula of the condition are also be included in the action fields.
- You must enter all the populated fields while adding a
field or document rule to get the Update option
enabled.
For example, you must add an Action value for selected Action type and then update the learning instance.
In the following video, you can observe how validation rules are utilized within documents to enhance the process of data extraction.
Available conditions
A condition is expressed as a logical rule that evaluates the state or values of certain fields that must be met for an action to occur. Below is the list of available conditions for Number data type:
Available actions
An action is associated with an operation that is performed when certain conditions are met. Below is the list of all the available actions: