Get Results retrieves the outcome of a transaction started by the Use Skill activity. Pass the Transaction Id from Use Skill and the activity returns aDocumentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
TransactionStatus plus the per-document results. If the transaction is still being processed, call the activity again after a short delay; if a Review activity has paused the transaction, it returns a Manual Review link instead of final results.
Activity properties
| Group | Property | Type | Description |
|---|---|---|---|
| Input | Transaction Id | Guid | The identifier of the transaction. Pass to this property the value obtained as the output Transaction Id property of the Use Skill activity. |
| Input | Delete Transaction | Boolean | Specifies whether the completed transaction should be deleted, whether successful or not. The default value is FALSE, which means that the transaction is not deleted. |
| Output | Document Results | IEnumerable<DocumentResult> | A collection of result documents after processing. |
| Output | Review Link | String | A link to the ABBYY Vantage Manual Review Client, where the transaction results can be reviewed (this link can be obtained only if the Process skill used contains a Review activity). |
| Output | Transaction Status | TransactionStatus | The status of the transaction. The following statuses are possible: "New", "Processing", "Review", "Processed". Based on the status received, you can configure your UiPath process to run different logic. For example, if the transaction has the "Processing" status, wait a few seconds and call the activity again. |
DocumentResult instances — one per document in the transaction.
DocumentResult
| Name | Type | Description |
|---|---|---|
| DocumentId | String | The identifier of the document. |
| ClassificationConfidences | IEnumerable<ClassificationConfidence> | A collection of classification confidence values. A list of all the classes available in the Classification skill applied to the document, together with their classification confidence values. |
| ClassName | String | The document class based on the classification results. |
| ExtractedData | String | A JSON string containing the extracted data. Note: For a Process skill, the property can be obtained if the Values, metadata, and field structure for each document option is enabled in the Output activity. |
| IsClassificationConfident | Boolean | The resulting class is deemed to have been determined with confidence if this value is TRUE. |
| ResultFiles | IReadOnlyDictionary<String,Stream> | A collection of result files after processing. |
| DocumentFullText | String | The full-text layer of a document that has been captured by ABBYY Vantage. Note: If the skill configuration does not contain a full text export setting, this property will contain the following default value: TXT export was not configured in the ABBYY Vantage skill settings. Please enable TXT export in the skill that you have selected. TXT export is only available for OCR or Processing skills. |
All listed parameters are collected in a separate
DocumentResult in the Document Results collection. Even if there is only one output document, its output parameters will be available from the first DocumentResult in Document Results collection.ClassificationConfidence
| Name | Type | Description |
|---|---|---|
| ClassName | String | Vantage document class. |
| Confidence | Int | The degree of confidence that the document belongs to this class. Possible values range from 0 to 100. |
"Processed"), the results will be saved in the output properties.
If the transaction is still being processed (i.e. Transaction Status = "New" / "Processing"), wait a few seconds and call the Get Results activity again.
A special case, where Transaction Status = "Review", is described below.
Results by skill type
The results that the Get Results activity may obtain vary depending on the skill applied to the document.Classification skill
A Classification skill (such as Vantage Classifier) returns:- Transaction Status
- Document Results (for each
DocumentResult):DocumentId,ClassificationConfidences,ClassName,IsClassificationConfident,ResultFiles(JSON file containing classification results data)
Document skill
A Document skill (such as Invoice US) returns:- Transaction Status
- Document Results (for each
DocumentResult):DocumentId,ExtractedData,ResultFiles(the results are contained in two JSON files — the first contains all document data; the second, ending in_fields.json, contains the values of the extracted fields and rule errors)
OCR skill
An OCR skill returns:- Transaction Status
- Document Results (for each
DocumentResult):DocumentId,ResultFiles(the files match the export configured in the OCR skill),DocumentFullText(if export to TXT is enabled in the skill)
Process skill
The obtained results depend on the activities that make up the Process skill and their settings, in particular the Output activity settings. For more information about the Process skill, see Set up a Process skill. If a Process skill comprises a Classify activity and an Extract activity, the above results are obtained for both a Classification skill and a Document skill. If a Process skill comprises multiple Classify or Extract activities, the results are obtained for the last activities of a particular type.
DocumentFullText parameter is received if export to TXT is enabled in the skill.
A Process skill can also contain a Review activity. When such a skill is used for document processing, processing can be suspended if the document requires manual review. In this case, the Get Results activity obtains:
- Transaction Status =
"Review" - Review Link
Errors
Transaction processing may fail for a number of reasons (for example, an input file may be corrupted or its format may not be supported by ABBYY Vantage). In that case, the Get Results activity throws an exception.Related topics
Vantage Scope activity
Pass ABBYY Vantage connection settings to nested Vantage activities.
Use Skill activity
Create a Vantage transaction to process a document with a skill.
Map Fields activity
Save extracted field values to UiPath variables.
