-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
6.5.0.Final
-
None
-
Drools 6.5.0.Final
JDK 1.8
-
2020 Week 10-12 (from Mar 2)
-
-
Workaround Exists
-
-
Medium
-
NEW
-
NEW
-
46346040
I am working with a project with nested objects.
I have a rule in which I need to make use of a function. If I use this function on a variable in a nested object it does not work (I get a compilation error):
Using the nested object accessor approach (compilation error "Unable to Analyse Expression"):
ObjectA( objectB. ( (someFunction(someVariable)) == 0 ) )
EDIT: The same compilation error occurs as well when just using a more complex operation on variables in nested objects as well (updated project on GitHub):
ObjectA( objectB. ( (someVariable == 0 || someVariable == 1 ) || (someVariable > -1 || someVariable < 2 )) )