Assuming callA() and callB() are methods on $C, you are missing a comma in between them.

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


   Edson
 
2011/9/27 Tinku <dibya.tcs@gmail.com>
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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com