Hi, these are the rules :<br><br>Rule A : <br><br>rule &quot;ID_15202&quot; <br>ruleflow-group &quot;RG_A&quot;<br>when<br>i : Item(name==&quot;cheese&quot;)<br>t : Bill(anItem==i);<br>then<br>t.setAmount(t.getAmount() - 100);<br>
update(t);<br>end<br><br>Rule B: <br><br>rule &quot;ID_15203&quot; <br>ruleflow-group &quot;RG_T&quot;<br>when<br>t : Bill($amount : totalAmount,  totalAmount &gt; (new Double(150.0).doubleValue()));<br>then<br>System.out.println(&quot;tot : &quot; + $tot);<br>
end<br><br>It gives the correct result if shadow proxy is turned on.<br><br>But all the rules are re-evaluated with the update(t). Is there another way that no-loop or lock-on-active that prevents from re-evaluating all the rules  ?<br>
<br>Thanks for your interest<br><br><div class="gmail_quote">2009/3/12 surya_n2007 <span dir="ltr">&lt;<a href="mailto:surya_n2007@yahoo.co.in">surya_n2007@yahoo.co.in</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Please post the complete rule where you are updating fact.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Problem-with-updated-facts-tp22458416p22477032.html" target="_blank">http://www.nabble.com/Problem-with-updated-facts-tp22458416p22477032.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5"><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>