<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">It is so because that's what you're telling the system to do. :)<br><br>The no-loop modifier only prevents a rule's conditions from infinitely re-evaluating the tuples modified by it's own action, not the actions of other rules.&nbsp; So when rule "Area_EstimatedRval_test_10-01-09_12-31-14" modifies a Para_2483 it will be reconsidered by the conditions in  "Area_EstimatesRval4_10-01-09_12-31-14".&nbsp; The only way to prevent  "Area_EstimatesRval4_10-01-09_12-31-14" from firing again is to craft it's conditions such that they're no longer true. (maybe "fid2329 != eid2143" since that contradicts what "Area_EstimatedRval_test_10-01-09_12-31-14" does, but I don't know if that makes sense for your rules.)<br><br>--- On <b>Wed, 5/12/10, Puneet duggal <i>&lt;duggalpunit@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255);
 margin-left: 5px; padding-left: 5px;"><br>From: Puneet duggal &lt;duggalpunit@gmail.com&gt;<br>Subject: [rules-users] Problem in update() method<br>To: "Rules Users List" &lt;rules-users@lists.jboss.org&gt;<br>Date: Wednesday, May 12, 2010, 10:54 PM<br><br><div id="yiv2011223575"><p>&nbsp;</p>
<p>hi frnds <br>i am having problem&nbsp; with update() method when i call update method&nbsp; from first rule<br>it calls&nbsp; second rule and goes in infinite loop calling the second method rule again and again <br>why is it so ??</p>

<p><br>rule "Area_EstimatesRval4_10-01-09_12-31-14"<br>date-effective "01-Oct-2009" date-expires "31-Dec-2014"&nbsp; salience 5<br>&nbsp;no-loop true <br>&nbsp; when <br>&nbsp;objectP2483 : Para_2483( (fid2329&gt;=0);<br>
&nbsp;<br>&nbsp;then </p>
<p>&nbsp;objectP2483.setFid2339(objectP2483.getFid2338() *3.1);update(objectP2483);</p>
<p>&nbsp;&nbsp;rule "Area_EstimatedRval_test_10-01-09_12-31-14"<br>date-effective "01-Oct-2009" date-expires "31-Dec-2014"&nbsp; salience 5 <br>&nbsp;no-loop true <br>&nbsp; when <br>&nbsp;objectP2483 : Para_2483( fid2339&gt;0);<br>
&nbsp;&nbsp;then <br>&nbsp;System.out.println("Area_EstimatedRval_test_10-01-09_12-31-14");<br>&nbsp;objectP2483.setFid2339(objectP2483.getEid2143());<br>&nbsp;<br>&nbsp;update(objectP2483); end </p>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="/mc/compose?to=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></blockquote></td></tr></table><br>