Skip to main content
The Result class is in the com.abbyy.connectors.models namespace. It contains processing results. The methods of this class are described below.
Method Details
public Stage getStage()
Returns the ID of the stage where the batch processing stopped. Returns:
  • The stage where the batch processing stopped: Verification (500), Processed (900)
See also: Stage
public List<File> getFiles()
Returns a list of output files. Returns:
  • A list of output files. The list will be empty if the document does not go through the “Export” stage and stops at the “Verification (500)” stage. The list will also be empty if there is no “Export to data files” export profile configured in the Document Definition.
public String getFields()
Returns recognition results as JSON string. Returns:
  • A JSON string containing recognition results. The string contains 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 will be empty if there is no “Export to XML” export profile configured in the Document Definition used by the FC project. The string will also be empty if the document does not go through the “Export” stage and stops at the “Verification (500)” stage.