lock-on-active it&#39;s ok for that kind of situations<br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 3:00 PM, Garner, Shawn <span dir="ltr">&lt;<a href="mailto:Garner.Shawn@principal.com">Garner.Shawn@principal.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is there a good way to globally prevent infinite loops.<br>
I had rule A and rule B and they both have FactA on the condition.<br>
They also both modify FactA.<br>
I tried no-loop and it prevents a loop of repeating RuleA over and over.<br>
However it then goes from Rule A back to Rule B back to Rule A.<br>
I fixed it by lock-on-active instead of no-loop.<br>
<br>
However I was wondering if there was either a timeout feature or a maximum number of times you could set a rule to be executed to error out on infinite loops.<br>
<br>
Any guidance would be appreciated.<br>
<br>
Thanks,<br>
SDG<br>
<br>
<br>
-----Message Disclaimer-----<br>
<br>
This e-mail message is intended only for the use of the individual or<br>
entity to which it is addressed, and may contain information that is<br>
privileged, confidential and exempt from disclosure under applicable law.<br>
If you are not the intended recipient, any dissemination, distribution or<br>
copying of this communication is strictly prohibited. If you have<br>
received this communication in error, please notify us immediately by<br>
reply email to <a href="mailto:Connect@principal.com">Connect@principal.com</a> and delete or destroy all copies of<br>
the original message and attachments thereto. Email sent to or from the<br>
Principal Financial Group or any of its member companies may be retained<br>
as required by law or regulation.<br>
<br>
Nothing in this message is intended to constitute an Electronic signature<br>
for purposes of the Uniform Electronic Transactions Act (UETA) or the<br>
Electronic Signatures in Global and National Commerce Act (&quot;E-Sign&quot;)<br>
unless a specific statement to the contrary is included in this message.<br>
<br>
While this communication may be used to promote or market a transaction<br>
or an idea that is discussed in the publication, it is intended to provide<br>
general information about the subject matter covered and is provided with<br>
the understanding that The Principal is not rendering legal, accounting,<br>
or tax advice. It is not a marketed opinion and may not be used to avoid<br>
penalties under the Internal Revenue Code. You should consult with<br>
appropriate counsel or other advisors on all matters pertaining to legal,<br>
tax, or accounting obligations and requirements.<br>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>