Skip to main content
A single-document processing scenario needs four functions. Create each one as described in Create a function.

Functions to create

SendForProcessing

The SendForProcessing function sends a file to ABBYY FlexiCapture for recognition and returns a batch identifier.

Parameters

Return value

int, the batch identifier.

Exceptions

Exception

Java source

WaitFirstVerificationOrProcessed

The WaitFirstVerificationOrProcessed function returns a verification URL. If the document has not reached the verification stage, it returns an empty string.

Parameters

Return value

String, the verification URL.

Exceptions

Exception

Java source

FetchingCapturedData

The FetchingCapturedData function returns a list of output fields in JSON format.

Parameters

Return value

String, the document fields in JSON format.

Exceptions

Exception

Java source

SingleDocumentBatchIsProcessed

The SingleDocumentBatchIsProcessed function reports whether a batch has been processed.

Parameters

Return value

boolean, which is true if the document is at the Processed stage and false otherwise.

Exceptions

Exception

Java source