Mathematical operators within a condition supported?
(Doc ID 2474689.1)
Last updated on JANUARY 24, 2019
Applies to:Oracle Adaptive Access Manager - Version 10.1.4.5.0 and later
Information in this document applies to any platform.
In order to implement a rule that will compare two transaction fields as follows: if field1 is greater than the 80% of field2, then the rule will trigger.
I tried to implement it using condition "Session: Compare two parameter values":
In "parameter key 1" I put field1.
In "operation" I put more than.
In "parameter key 2" I put field2 * 0.8.
Since the condition is undocumented, I suppose that I can use it with numeric operators in parameter keys (+ , - , * . / ).
Unfortunately, OAAM seems to completely ignore the operators. I tried with brackets and parenthesis as well. I even tried using an integer instead of 0.8 (eg. field2 * 1). In vein.
On the contrary, when I don't use operators, then it works fine. No error is written on the logs.
Please, let me know if
a) I can use operators in this condition?
b) If not, what is the alternative to achieve the rule?
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