I tried to invoke parameterizied call to the java method and tried to compare
the return parameter from the method in the 'eval' function..The rule is not
getting executed ..
I am not sure if it is unable to invoke the java method and fetch the return
parameter or there is an issue with rule syntax..
Please help me in this regard.
LHS of the rule :
**************************************
import com.customObject
rule A
when
$B : customObject()
eval($B.getValue("Database").equals("ORACLE"))
then
System.out.println("The database object is oracle")
end
--
View this message in context:
http://drools.46999.n3.nabble.com/Not-able-to-call-parameterizied-Java-me...
Sent from the Drools: User forum mailing list archive at
Nabble.com.