[rules-users] Rules selection logic

balagh bala.ganesh at accenture.com
Sat Nov 13 08:12:19 EST 2010


Hi, 

 Below is the DRl used. When i have two different rules with the same below
DRL, only one rule is getting executed. I could find that in my logs. If i
change the line to Ransome(amr <= 10) in any one of the rule, both of them
are getting executed.

I am having the rules in db and the execution trace log will have the rules
no which gets executed

   Rule "rule -1"
     when
         loose : Loose()
         ransome : Ransome(amt == 6.15) from loose.getRansomeArray(0)
         util : Util()
    then
        util.doIt(loose, "Hello");    
   end


Thanks,
Bala

-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rules-selection-logic-tp1894132p1894257.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list