Introduction
Class JSE_Capture is no longer available in Capture 4.X.
The JSE_Capture class provides access to web services from the Open Bee™ Scan Capture solution.
Duties
getOutput(String idDocument, String outputName): DocumentOutput
This function allows you to obtain the status of an output for a document. The report is returned to you as a DocumentOutput object, or returns null if the requested output is not yet stated.
- idDocument: The internal ID of the document in the database. For the current document, this corresponds to your variable INTERNAL_DOCUMENT_ID e.g. 5e189b4c6c054852d471955d
- outputName: This parameter allows you to choose the desired output from the following values: [DMS, FOLDER, SCRIPT]
var test = JSE_Capture.getOutput(INTERNAL_DOCUMENT_ID, "DMS");
return " State : " + test.stateToString;
Result
State : SENT
getDocument(String idDocument): String
This feature allows you to get all the information available in the Open Bee™ Scan Capture database for a document. Please note that this information is returned to you in JSON form but in a string that can be converted into an object later
- idDocument: The internal ID of the document in the database. For the current document, this corresponds to your variable INTERNAL_DOCUMENT_ID e.g. 5e189b4c6c054852d471955d
var test = JSE_Capture.getDocument(INTERNAL_DOCUMENT_ID);
return test;
Result
See the attachment with the result:
Some indexes in the document have been removed intentionally to reduce the file size because they are repetitive.