A document set may include document variants with different layouts, e.g. statements from different banks or invoices issued by different companies. Advanced Designer allows you to create a single processing flow item that contains several independent Extraction Rules activities and activity choice conditions. The choice of activity is determined by the value of the field which contains data that is used to distinguish among the document variants. This is typically a field containing classification results, but generally this can be any field that has been filled by any preceding activity. You configure branching conditions for activities in the set by mapping the field values to the activities. You may also select an action for all field values not specified in the mapping table: you can either assign them an Extraction Rules activity from the set or choose to skip this processing step.Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
Use cases
This method can be useful in the following cases:| Case | How document variants are distinguished | Sample mapping |
|---|---|---|
| You have classified your documents by layout or by a certain parameter, e.g. the year the document was issued. You need to configure separate extraction rules for some of the document classes. | Based on the results of classification by text and image or some document parameter extracted to a field | Field value = A : Extraction Rules A / Field value = B : Extraction Rules B / All other field values : Skip this step |
| You have classified your documents by company and need to configure separate extraction rules for documents from each company in your catalog. You want to use a general Extraction Rules activity for all companies not listed in the catalog. | Based on the results of classification by company | CompanyID = 1 : Extraction Rules 1 / CompanyID = 2 : Extraction Rules 2 / … / Other company IDs : General Extraction Rules |
Create a new set of activities
Add a regular Extraction Rules activity
Add a regular Extraction Rules activity to the document processing flow.
Add a second activity
Click Add activity and set condition for its use on the Activity Properties pane.
Configure activities and branching conditions
Select the activity in the processing flow and open the Activities tab of the Activity Properties pane. You will see a list of activities added to the item. The error icon indicates that an activity has errors or is not configured. The alert icon indicates that the branching condition for an activity is not set.Specify the field
In the dialog that opens, specify the field whose values will determine the choice of an Extraction Rules activity.
Changing a field to get values from will reset the mapping.
Map field values to activities
All available Extraction Rules activities are listed in the mapping table. Map the field values to the activities.
Set an action for unlisted values
Select an action for the values not listed in the mapping table. You can select either to use one of the activities added to the set or to skip this processing step.
