Enterprise Capture Recognition Processor Script to Modify Database Lookup Search Value does not Work

(Doc ID 1900716.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle WebCenter Enterprise Capture - Version and later
Information in this document applies to any platform.


In the "Developing Scripts for Oracle WebCenter Capture" documentation, it states it is possible to modify the lookupValue before execution using the "beginDatabaseLooup" event.

beginDatabaseLookup(RecognitionProcessorContext rpc)
This is called after the recognition processor has determined the lookup value, and before the actual execution of the lookup is called.
■ phaseID: 4
■ dbLookupValue: User can modify the lookupValue.
■ cancelAction: User can cancel lookup.

After creating a sample script to use the setDbLookupValue function to change the value being searched in the beginDatabaseLookup event, the search is always performed with the original value.  The sample code is below:


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms