So you're saying a knowledge base consisting of only the following causes rule 1 to re-fire?<br><br>rule "rule1"<br>
agenda-group "1"<br>
salience 0<br>
when<br>
$a : Account()<br>
$h : HashMap(!(this["Aggregate_Balance"]<=50000))<br><div class="im">
then<br>
setFocus("2");<br>
end</div><br>Is it *re-firing* or firing for each fact you insert that matches?<br><br><br><div class="gmail_quote">On 12 July 2012 10:23, abhinay_agarwal <span dir="ltr"><<a href="mailto:abhinay_agarwal@infosys.com" target="_blank">abhinay_agarwal@infosys.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">m still working on it..but those rules will not change anything on which rule<br>
"1" depends..<br>
<br>
for the time being you can ignore that rule "2" has a setFocus.Consider the<br>
rule "2" as<br>
<div class="im"><br>
rule "rule2"<br>
<br>
agenda-group "1"<br>
salience -1<br>
when<br>
<br>
$c : Customer()<br>
then<br>
</div> $c.setName("Abhinay")<br>
end<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Rule-refiring-issue-tp4018618p4018628.html" target="_blank">http://drools.46999.n3.nabble.com/Rule-refiring-issue-tp4018618p4018628.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>