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 |
Creating a New Set of Activities
- Add a regular Extraction Rules activity to the document processing flow.
- Click Add activity and set condition for its use on the Activity Properties pane.
- Specify the name of a new activity and click Add.
- Go to the Activities tab on the Activity Properties pane and add as many activities as needed by clicking Add.
Configuring the 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. To configure the branching conditions, do the following:- Click Conditions at the bottom of the Activity Properties pane.
- In the dialog that will open, specify the field whose values will determine the choice of an Extraction Rules activity.
- All available Extraction Rules activities are listed in the mapping table. Map the field values to the activities.
- 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.
- Click Save.
