My Oracle Support Banner

Batch Selection Numeric Comprison Issue (Doc ID 2532333.1)

Last updated on FEBRUARY 06, 2020

Applies to:

Oracle Documaker - Version 12.6 and later
Information in this document applies to any platform.

Symptoms

On : 12.6 version, Documaker Server

Batch selection rule has a problem when comparing numbers over 999

When this occurs, ODEE generated the below errors:
oracle.documaker.batch.BatchDefs.compareSelectRule@1:40 parsing error near '... && 1,001>1 ...'
oracle.documaker.batch.BatchDefs.compareSelectRule@1:40 parsing error near '... && 1,001>6 ...'
oracle.documaker.batch.BatchDefs.compareSelectRule@1:40 parsing error near '... && 1,001

The rule text is greatly truncated but the logic rule logic is something like this:
('${RCPS.ADR_COUNTRY}'=='Insured' && ${RCPS.RCPCUSINT001}>15)
('${RCPS.ADR_COUNTRY}'=='Insured' && ${RCPS.RCPCUSINT001}>6 && ${RCPS.RCPCUSINT001}<16)
('${RCPS.ADR_COUNTRY}'=='Insured' && ${RCPS.RCPCUSINT001}<7)

It appears that RCPS.RCPCUSINT001 has a value of 1001. It is being formatted as '1,001' and then can not be numerically parsed and compared.





Cause

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
Symptoms
Cause
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.