How To Access the DocumentNumber Property in a WEC Recognition Processor Script
(Doc ID 2576956.1)
Last updated on AUGUST 19, 2019
Applies to:Oracle WebCenter Enterprise Capture - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
The WebCenter Enterprise Capture Scripting guide (section 8.1.10) states that the document class has a property called DocumentNumber, which is "The document's position within the batch."
Using the following format "rpc.getDocument().getDocumentNumber()" returns the below error:
The goal is to set an index field with the value of DocumentNumber so during commit processing, the metadata field can be populated, both as part of the file name and as a value in an index file generated by the commit processor.
In other words, the goal is to have image files committed from Capture named in the format:
<BatchName>_<DocumentNumber>_<ScanDate> where DocumentNumber is the sequence of the document in the batch.
How can this property be accessed in a Recognition Processor script?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document