Equals To (=) Operator is not Working in Conditional Statements in Statement Rules (Doc ID 2264375.1)

Last updated on MAY 24, 2017

Applies to:

Oracle Configurator Developer - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.31.10 version, Statement Rules

ACTUAL BEHAVIOR
---------------
In an Oracle Configurator Developer Fusion (FCE) model, when providing a value of 60 to DECIMAL_FEATURE, no value is being added into OTHER_DECIMAL_FEATURE for the following rule. Alternate values still trigger correctly for the less than or equal to and greater than or equal to operators. The following statement rule is an example of when this issue would occur:

ADD((AllTrue(DECIMAL_FEATURE = 50) * 0.5) + (AllTrue(DECIMAL_FEATURE > 50, DECIMAL_FEATURE <= 55) * 0.3)) To OTHER_DECIMAL_FEATURE;


EXPECTED BEHAVIOR
-----------------------
It is expected that if the value of DECIMAL_FEATURE is 50 – then 0.5 would be added to ‘OTHER_DECIMAL_FEATURE’.  However, the condition ‘AllTrue(DECIMAL_FEATURE = 50)’ is not evaluated as ‘true’ and the value of ‘OTHER_DECIMAL_FEATURE remains unchanged.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.  Log in to Oracle Configurator Developer responsibility

2.  From the Repository, open the affected model in Edit mode

3.  Click on the 'Test model' button and supply appropriate criteria and Submit

4.  In the Runtime, provide a value of 50 for DECIMAL_FEATURE

5. Observe the rule does not fire

Cause

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