Without seeing the rules it would be very hard to determine what causes your issue.<br><br>&quot;Infinite loops&quot; normally imply there is some degree of circularity between rules.<br><br>Can you please provide a self contained test case or your rules (DRL form, preferential).<br>
<br>Thanks<br><br><div class="gmail_quote">2011/3/10 Sartaj Shaik <span dir="ltr">&lt;<a href="mailto:sartaj.shaik@tcs.com">sartaj.shaik@tcs.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br><font face="sans-serif" size="2">Hi,</font>
<br>
<br><font face="sans-serif" size="2">I have written some rules in Decision
table (Web-guided editor), and I have implemented the </font><font face="Courier New" size="2">AgendaFilter</font><font face="sans-serif" size="2">
to fire rules that ends with the rule name specified (</font><font face="Courier New" size="2">EndAgendaFilter)</font>
<br><font face="Courier New" size="2">here is the accept method I have written.</font>
<br>
<br><font face="Courier New" size="2">When I fire the rules ends with some
&quot;XXXXX&quot;, this accept method goes into infinite loop and my Sysout
prints &quot;Rule 1 XXXXX&quot; infinite times.</font>
<br>
<br><font face="Courier New" size="2">(Note: all the condition variables
that i have passed to guvnor matches with the first row of that rule, hence
getting Rule 1 XXXXX)</font>
<br>
<br><font color="#820040" face="Courier New" size="2"><b>     
          public</b></font><font face="Courier New" size="2">
</font><font color="#820040" face="Courier New" size="2"><b>boolean</b></font><font face="Courier New" size="2">
accept(</font><font color="#820040" face="Courier New" size="2"><b>final</b></font><font face="Courier New" size="2">
Activation activation) {</font>
<br><font face="Courier New" size="2">         
              System.</font><font color="#0021bf" face="Courier New" size="2"><i>out</i></font><font face="Courier New" size="2">.println(activation.getRule().getName());</font>
<br><font face="Courier New" size="2">         
              </font><font color="#820040" face="Courier New" size="2"><b>if</b></font><font face="Courier New" size="2">
(activation.getRule().getName().endsWith(</font><font color="#820040" face="Courier New" size="2"><b>this</b></font><font face="Courier New" size="2">.</font><font color="#0021bf" face="Courier New" size="2">suffix</font><font face="Courier New" size="2">))
{</font>
<br><font face="Courier New" size="2">         
               
      </font><font color="#820040" face="Courier New" size="2"><b>return</b></font><font face="Courier New" size="2">
</font><font color="#820040" face="Courier New" size="2"><b>this</b></font><font face="Courier New" size="2">.</font><font color="#0021bf" face="Courier New" size="2">accept</font><font face="Courier New" size="2">;</font>
<br><font face="Courier New" size="2">         
              } </font><font color="#820040" face="Courier New" size="2"><b>else</b></font><font face="Courier New" size="2">
{</font>
<br><font face="Courier New" size="2">         
               
      </font><font color="#820040" face="Courier New" size="2"><b>return</b></font><font face="Courier New" size="2">
!</font><font color="#820040" face="Courier New" size="2"><b>this</b></font><font face="Courier New" size="2">.</font><font color="#0021bf" face="Courier New" size="2">accept</font><font face="Courier New" size="2">;</font>
<br><font face="Courier New" size="2">         
              }</font>
<br><font face="Courier New" size="2">         
      }</font>
<br>
<br>
<br><font face="Courier New" size="2">All my other rules are working fine,
even I have created the same rule again (same conditions, actions, data
etc) it is working properly.</font>
<br>
<br><font face="Courier New" size="2">Don&#39;t know what is the root cause,
any ideas?</font>
<br>
<br><font face="Courier New" size="2">I have 3 similar rules which are failing,
and those rules contains lot of rows, so can&#39;t create the new rules for
those again to make them work :(</font>
<br>
<br><font face="Courier New" size="2">Please help!!!</font><pre style="white-space: normal;">=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>not the intended recipient, any dissemination, use, <br>review, distribution, printing or copying of the <br>information contained in this e-mail message <br>and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>please notify us by reply e-mail or telephone and <br>immediately and permanently delete the message <br>and any attachments. Thank you<br><br><br></pre><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>
<br></blockquote></div><br>