My Oracle Support Banner

Enterprise Capture Recognition Processor Script to Modify Database Lookup Search Value does not Work (Doc ID 1900716.1)

Last updated on APRIL 15, 2024

Applies to:

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

Goal

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

5.3.12
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:

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.