[rules-users] using variables in eval
rahulkrishnan
rahulkrishnan8 at gmail.com
Fri Oct 21 05:46:15 EDT 2011
Hi
1.i have a rule like this
rule "Function Call"
dialect "mvel"
when
PassThrough( $c : name)
eval(($c = hello("rahul"))!=null)
then
System.out.println($c);
end
in this my function will return the string as capital and am entering to
the consequence part but the $c is printed as null. am not getting what is
happend.
And if i want to assign the result of function call to a String declared as
(String s) how can it be done
--
View this message in context: http://drools.46999.n3.nabble.com/using-variables-in-eval-tp3440419p3440419.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list