[rules-users] Rule refiring issue !

abhinay_agarwal abhinay_agarwal at infosys.com
Thu Jul 12 04:58:20 EDT 2012


rule "rule1"
agenda-group "1"
salience 0
    when

           $a : Account()
           $h : HashMap(!(this["Aggregate_Balance"]<=50000))

    then
          setFocus("2")
end



rule "rule2"

agenda-group "1"
salience -1
    when
           $c : Customer()
    then
           setFocus(3)
end


rule "rule3"
agenda-group "2"
salience 0
    when
           $c : Customer()
           $h : HashMap(this["customerName"]=="Abhinay" ||
                               this["accountType"]=="Single")
    then
           $c.setStatus("OK")
end



--
View this message in context: http://drools.46999.n3.nabble.com/Rule-refiring-issue-tp4018618p4018625.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list