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

Tinku dibya.tcs at gmail.com
Tue Sep 27 18:36:43 EDT 2011


I try to add two java method calls in the RHS of the rule .It doesnot allow
me to save the DRL file in eclipse .It complaints "Multiple Markers at this
line".

However ,commenting one of the method in the RHS works fine ,with-out any
issue..

Could you pls help me in this..

Example :

when 
$B : customObject() 
$C :result()

eval($B.getValue("Database").equals("ORACLE")) 

then 
modify ($C)
{
  callA("UNIX")
  callB("PERL")
}

end 


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



More information about the rules-users mailing list