Skip to main content
The Result class is in the com.abbyy.connectors.models namespace. It holds the processing results.

Methods

getStage

Returns the ID of the stage where the batch processing stopped.

Return value

  • The stage where the batch processing stopped, either Verification (500) or Processed (900)

getFiles

Returns a list of output files.

Return value

  • A list of output files
The list is empty when the document does not go through the Export stage and stops at the Verification (500) stage. It is also empty when no Export to data files export profile is configured in the Document Definition.

getFields

Returns the recognition results as a JSON string.

Return value

  • A JSON string holding the recognition results
The string holds the names of the captured fields and their values. It can be processed on the Pega side, where the field values can be extracted and written to their respective fields in the case. The string is empty when no Export to XML export profile is configured in the Document Definition used by the ABBYY FlexiCapture project. It is also empty when the document does not go through the Export stage and stops at the Verification (500) stage.