- Overview
- Document Processing Contracts
- About the Document Processing Contracts
- Box Class
- IPersistedActivity Interface
- PrettyBoxConverter Class
- IClassifierActivity Interface
- IClassifierCapabilitiesProvider Interface
- ClassifierDocumentType Class
- ClassifierResult Class
- ClassifierCodeActivity Class
- ClassifierNativeActivity Class
- ClassifierAsyncCodeActivity Class
- ClassifierDocumentTypeCapability Class
- ExtractorAsyncCodeActivity Class
- ExtractorCodeActivity Class
- ExtractorDocumentType Class
- ExtractorDocumentTypeCapabilities Class
- ExtractorFieldCapability Class
- ExtractorNativeActivity Class
- ExtractorResult Class
- ICapabilitiesProvider Interface
- IExtractorActivity Interface
- ExtractorPayload Class
- DocumentActionPriority Enum
- DocumentActionData Class
- DocumentActionStatus Enum
- DocumentActionType Enum
- DocumentClassificationActionData Class
- DocumentValidationActionData Class
- UserData Class
- Document Class
- DocumentSplittingResult Class
- DomExtensions Class
- Page Class
- PageSection Class
- Polygon Class
- PolygonConverter Class
- Metadata Class
- WordGroup Class
- Word Class
- ProcessingSource Enum
- ResultsTableCell Class
- ResultsTableValue Class
- ResultsTableColumnInfo Class
- ResultsTable Class
- Rotation Enum
- SectionType Enum
- WordGroupType Enum
- IDocumentTextProjection Interface
- ClassificationResult Class
- ExtractionResult Class
- ResultsDocument Class
- ResultsDocumentBounds Class
- ResultsDataPoint Class
- ResultsValue Class
- ResultsContentReference Class
- ResultsValueTokens Class
- ResultsDerivedField Class
- ResultsDataSource Enum
- ResultConstants Class
- SimpleFieldValue Class
- TableFieldValue Class
- DocumentGroup Class
- DocumentTaxonomy Class
- DocumentType Class
- Field Class
- FieldType Enum
- LanguageInfo Class
- MetadataEntry Class
- TextType Enum
- TypeField Class
- ITrackingActivity Interface
- ITrainableActivity Interface
- ITrainableClassifierActivity Interface
- ITrainableExtractorActivity Interface
- TrainableClassifierAsyncCodeActivity Class
- TrainableClassifierCodeActivity Class
- TrainableClassifierNativeActivity Class
- TrainableExtractorAsyncCodeActivity Class
- TrainableExtractorCodeActivity Class
- TrainableExtractorNativeActivity Class
- Document Understanding Digitizer
- Document Understanding ML
- Document Understanding OCR Local Server
- Document Understanding Process - Studio Template
- Document Understanding Activities
- About the Document Understanding Package
- Project Compatibility
- Set PDF Password
- Merge PDFs
- Get PDF Page Count
- Extract PDF Text
- Extract PDF Images
- Extract PDF Page Range
- Extract Document Data
- Create Validation Task and Wait
- Wait for Validation Task and Resume
- Create Validation Task
- Classify Document
- Create Classification Validation Task
- Create Classification Validation Task and Wait
- Wait for Classification Validation Task and Resume
- Intelligent OCR
- About the IntelligentOCR Activities Package
- Project Compatibility
- Load Taxonomy
- Digitize Document
- Classify Document Scope
- Keyword Based Classifier
- Intelligent Keyword Classifier
- Present Classification Station
- Create Document Classification Action
- Wait for Document Classification Action and Resume
- Train Classifiers Scope
- Keyword Based Classifier Trainer
- Intelligent Keyword Classifier Trainer
- Data Extraction Scope
- RegEx Based Extractor
- Form Extractor
- Intelligent Form Extractor
- Present Validation Station
- Create Document Validation Action
- Wait for Document Validation Action and Resume
- Train Extractors Scope
- Export Extraction Results
- ML Services
- OCR
- OCR Contracts
- Release Notes
- About the OCR Contracts
- Project Compatibility
- IOCRActivity Interface
- OCRAsyncCodeActivity Class
- OCRCodeActivity Class
- OCRNativeActivity Class
- Character Class
- OCRResult Class
- Word Class
- FontStyles Enum
- OCRRotation Enum
- OCRCapabilities Class
- OCRScrapeBase Class
- OCRScrapeFactory Class
- ScrapeControlBase Class
- ScrapeEngineUsages Enum
- ScrapeEngineBase
- ScrapeEngineFactory Class
- ScrapeEngineProvider Class
- OmniPage
- PDF
- [Unlisted] Abbyy
- Release Notes
- About the Abbyy Activities Package
- Project Compatibility
- Document Processing Using FlexiCapture Scope
- Document Processing Using FlexiCapture Scope and Language Detection
- FlexiCapture Integration
- [Unlisted] Abbyy Embedded
Document Processing Using FlexiCapture Scope and Language Detection
The example below explains how to use the Intelligent OCR and FlexiCapture activities for processing documents, extracting specific information, and displaying it in a message box. It presents activities such as FlexiCapture Scope and Get Field. You can find these activities in the UiPath.Abbyy.Activities package.
This is how the automation process can be built:
-
Open Studio and create a new Process named by default Main.
Note: Add all the files used by the robot in the project folder. You can use your own files or you can download the ones provided in the below example. -
Drag a Sequence container in the Workflow Designer and create the following variable:
Variable Name
Variable Type
Default Value
InvoicesFolder
String
 -
Drag a For Each activity inside the Sequence container.
- Add the value
InvoiceFilePath
in the ForEach field. - In the Properties panel, select the option
String
from the TypeArgument drop-down list. - Add the expression
Directory.GetFiles(InvoicesFolder)
in the Values field. We have provided two Japanese invoices. The language detection is done automatically.
- Add the value
-
Drag a FlexiCapture Scope activity inside the Body container of the For Each activity.
-
Select the Do container of the activity and create the following variables:
Variable Name
Variable Type
Default Value
ProcessedInvoice
UiPath.Abbyy.Core.FlexiCapture.FCDocument
 ClientName
UiPath.Abbyy.Core.FlexiCapture.FCField
 TotalAmount
UiPath.Abbyy.Core.FlexiCapture.FCField
Â
-
-
Place a Write Line activity inside the Do container.
- Add the expression
"Processing " + InvoiceFilePath
in the Text field.
- Add the expression
-
Drag a Process Document activity under the Write Line activity.
- In the Properties panel, add the expression
{"JPInvoiceSampleDefinition.fcdot"}
in the DefinitionFiles field. - Add the value
InvoiceFilePath
in the Document field. - Add the variable
ProcessedInvoice
in the Result field.
- In the Properties panel, add the expression
-
Add a Get Field activity below the Process Document activity. This activity extracts the Client Name from the processed document.
- In the Properties panel, add the variable
ProcessedInvoice
in the Document field. - Add the value
"ClientName"
in the Name field. - Add the variable
ClientName
in the Result field.
- In the Properties panel, add the variable
-
Drag another Get Field activity and place it below the first one. This activity extracts the Total Amount from the processed document.
- In the Properties panel, add the variable
ProcessedInvoice
in the Document field. - Add the value
"TotalAmount"
in the Name field. - Add the variable
TotalAmount
in the Result field.
- In the Properties panel, add the variable
-
Drag a Write Line activity below the Get Field activity.
- Add the expression
"Client Name: " + ClientName.Value + " | Total Amount: " + TotalAmount.Value
in the Text field.
- Add the expression
- Run the process. The robot extracts the data, processes the document, extracts the specified fields, and displays the results.
Download example from here.