[rules-users] Not able to call parameterizied Java method in LHS

Tinku dibya.tcs at gmail.com
Thu Sep 29 07:43:05 EDT 2011


I am facing one more issue with calling a method in lhs of the rule .. 

When I call a method as mentioned below ('getValue' is the method in class
'customObject' and 'numberofObjects' is method in class 'AnotherObject') ;
the drl file has problems in saving in eclipse. 
The error says like 'Multiple Markers at this line' 

******************************************************* 
rule A 

when 
$B : customObject() 
$C : AnotherObject() 
eval($C.numberofObjects($B.getValue("Database")) > 10) 
then 
<rhs of the rule>
end 

Please help me in this regard..


--
View this message in context: http://drools.46999.n3.nabble.com/Not-able-to-call-parameterizied-Java-method-in-LHS-tp3372552p3379014.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list