<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I have written some rules in Decision
table (Web-guided editor), and I have implemented the </font><font size=2 face="Courier New">AgendaFilter</font><font size=2 face="sans-serif">
to fire rules that ends with the rule name specified (</font><font size=2 face="Courier New">EndAgendaFilter)</font>
<br><font size=2 face="Courier New">here is the accept method I have written.</font>
<br>
<br><font size=2 face="Courier New">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 size=2 face="Courier New">(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 size=2 color=#820040 face="Courier New"><b>&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; public</b></font><font size=2 face="Courier New">
</font><font size=2 color=#820040 face="Courier New"><b>boolean</b></font><font size=2 face="Courier New">
accept(</font><font size=2 color=#820040 face="Courier New"><b>final</b></font><font size=2 face="Courier New">
Activation activation) {</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.</font><font size=2 color=#0021bf face="Courier New"><i>out</i></font><font size=2 face="Courier New">.println(activation.getRule().getName());</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font><font size=2 color=#820040 face="Courier New"><b>if</b></font><font size=2 face="Courier New">
(activation.getRule().getName().endsWith(</font><font size=2 color=#820040 face="Courier New"><b>this</b></font><font size=2 face="Courier New">.</font><font size=2 color=#0021bf face="Courier New">suffix</font><font size=2 face="Courier New">))
{</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </font><font size=2 color=#820040 face="Courier New"><b>return</b></font><font size=2 face="Courier New">
</font><font size=2 color=#820040 face="Courier New"><b>this</b></font><font size=2 face="Courier New">.</font><font size=2 color=#0021bf face="Courier New">accept</font><font size=2 face="Courier New">;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } </font><font size=2 color=#820040 face="Courier New"><b>else</b></font><font size=2 face="Courier New">
{</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </font><font size=2 color=#820040 face="Courier New"><b>return</b></font><font size=2 face="Courier New">
!</font><font size=2 color=#820040 face="Courier New"><b>this</b></font><font size=2 face="Courier New">.</font><font size=2 color=#0021bf face="Courier New">accept</font><font size=2 face="Courier New">;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; }</font>
<br>
<br>
<br><font size=2 face="Courier New">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 size=2 face="Courier New">Don't know what is the root cause,
any ideas?</font>
<br>
<br><font size=2 face="Courier New">I have 3 similar rules which are failing,
and those rules contains lot of rows, so can't create the new rules for
those again to make them work :(</font>
<br>
<br><font size=2 face="Courier New">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>