[rules-users] Checking variable values in rule conditions

skasab2s skasab2s at smail.inf.fh-brs.de
Wed Jul 8 05:56:44 EDT 2009


Hi guys,

as far as I understood, in the rule conditions I can check what objects are
in the working memory and so on..
But can I check for example a global variable value which I have declared in
the same .DRL-File?
for example:

global Boolean testWeanable
....

when 
   testWeanable==true
then
 do this and that
end

or should I insert the variable  testWeanable into the Working Memory to do
this?

Thanks a lot and many greets!



-- 
View this message in context: http://www.nabble.com/Checking-variable-values-in-rule-conditions-tp24388606p24388606.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list