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 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.
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
