Skip to main content
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 a 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

When using a Classification skill, Document skill, or OCR skill, all transaction input files will be assembled into one document. When using a Process skill, multiple result documents can be obtained. By default in a Process skill, each input file becomes a separate document in Vantage. Documents can belong to different classes but are processed within the same transaction. To override this assembly, configure the Assemble activity in the Process skill. Each document produces its own results. The Document Results output property returns a collection of DocumentResult instances, one per document in the transaction.

DocumentResult

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

The Get Results activity can only be used inside a configured Vantage Scope activity.
The behavior of the Get Results activity depends on the returned Transaction Status.

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, you obtain the results described earlier 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.
Process skill pipeline in Skill Designer showing Input, Classify, Extract, a highlighted Extract 2, and Output activities
If the PDF option is enabled in the Exported Data Settings dialog of an Output activity of a Process skill, the results contain the JSON file with the extraction results. They also contain the document image exported to a PDF file with a text layer. For each transaction document, the 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
Once the manual review and transaction processing are completed, you can obtain the results described earlier by calling the Get Results activity again.

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.