[jboss-jira] [JBoss JIRA] (DROOLS-1741) Using a function in nested objects
R D (JIRA)
issues at jboss.org
Fri Sep 22 04:26:00 EDT 2017
R D created DROOLS-1741:
---------------------------
Summary: Using a function in nested objects
Key: DROOLS-1741
URL: https://issues.jboss.org/browse/DROOLS-1741
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.5.0.Final
Environment: Drools 6.5.0.Final
JDK 1.8
Reporter: R D
Assignee: Mario Fusco
Priority: Minor
Attachments: Compilation_error.PNG
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 ) )
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list