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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to