Skip to main content
The SaveTransactionResult action monitors the status of a transaction, gets the processing results from ABBYY Vantage, and saves those results to disk.
Use the SaveTransactionResult action with Blue Prism version 7.2. When you upgrade to Blue Prism 7.2, update the connector to the latest version and replace the GetTransactionResult action with SaveTransactionResult. For more information, see Replace the GetTransactionResult action with SaveTransactionResult.

Action parameters

The documentProcessingResults collection contains the following fields: The ClassificationResults collection contains the following fields: The Fields collection contains the following fields:
Collection Properties Current Values tab showing repeating Product code fields with index postfixes
The ResultFiles collection contains the following fields:

How the action monitors a transaction

When you call the action and processing has already completed, the results are saved to the output parameters. If the transaction is still processing, the action requests the status at the interval set in the delay parameter. It repeats until processing completes or the maxMonitoringTimeout is reached. Manual review is a special case, described under Process skill. Transaction processing can fail, for example because of a corrupted or unsupported input file. In that case, the action throws an exception.

Results by skill type

The results returned by the action vary with the skill applied to the document.

Classification skill

For a classification skill (for example, Vantage Classifier), documentProcessingResults contains, for each document: Id, ClassificationResults, ClassName, IsClassificationConfident, ExtractedData, and ResultFiles (a JSON file with the classification results data).

Document skill

For a document skill (for example, Invoice US), documentProcessingResults contains, for each document: Id, ExtractedData, Fields, and ResultFiles. ResultFiles contains two JSON files: the first holds all document data, and the second holds the extracted field values and any rule errors. The name of the second file ends with _fields.json.

OCR skill

For an OCR skill, documentProcessingResults contains, for each document: Id, ResultFiles (in the export format configured in the OCR skill), and DocumentFullText (if export to TXT is enabled in the skill).

Process skill

For a process skill, the results depend on the activities in the skill and their settings, in particular the Output activity. For more information, see Process skill.
  • If the process skill has a Classify activity and an Extract activity, you get the results for both a classification skill and a document skill.
  • If the process skill has multiple Classify or Extract activities, you get the results for the last activity of each type. In the following diagram, the JSON file returned by the process skill contains the extraction results from the highlighted Extract activity.
Process skill diagram with Input, Classify, Extract, a highlighted Extract 2, and Output activities, where the last Extract activity determines the extraction results
  • If the PDF option is enabled in the Exported Data Settings dialog of an Output activity, the results contain the JSON file with the extraction results and the document image exported to a PDF file with a text layer.
  • If the process skill contains a Review activity and a document requires manual review, processing is suspended and the action returns manualReviewLink. After the manual review and transaction processing complete, call the action again to get the results.