So you're saying a knowledge base consisting of only the following causes rule 1 to re-fire?

rule "rule1"
agenda-group "1"
salience 0
    when
      $a : Account()
           $h : HashMap(!(this["Aggregate_Balance"]<=50000))
    then
          setFocus("2");
end

Is it *re-firing* or firing for each fact you insert that matches?


On 12 July 2012 10:23, abhinay_agarwal <abhinay_agarwal@infosys.com> wrote:
m still working on it..but those rules will not change anything on which rule
"1" depends..

for the time being you can ignore that rule "2" has a setFocus.Consider the
rule "2" as

rule "rule2"

agenda-group "1"
salience -1
    when

           $c : Customer()
    then
           $c.setName("Abhinay")
end




--
View this message in context: http://drools.46999.n3.nabble.com/Rule-refiring-issue-tp4018618p4018628.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