[rules-users] Local Variable

joy Kripa_M01 at infosys.com
Fri Oct 5 07:46:59 EDT 2012


Hi

i need local variables in drl file.
it should hold integer/double value.
Setting an integer value to a local variable in some rule and getting that
integer value in some other rule 

when 
        #some condition01
then   
        local variable=200
end

when 
       #some condition02
then 
       local variable =300
end

when 
     #some condition03
then 
     emp.salary=localvariable+2000
end

Anyone plz help me to resolve this.

Thank you 
Joy




--
View this message in context: http://drools.46999.n3.nabble.com/Local-Variable-tp4020144.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list