<div><br></div>   Hi, I think this is the best use case for agenda-groups + auto-focus... i.e., you add your rules to your kbase, and the rules remain there and will not fire, unless an extraordinary condition is detected, in which case the auto-focus will trigger, &quot;pausing&quot; the execution of the other rules to do whatever is necessary to handle the extraordinary condition. After it is fixed, the processing resumes with the regular rules.<div>
<br></div><div>   Not sure if that is what you are looking for, but hope it helps.<br><div><br></div><div>   Edson<br><br><div class="gmail_quote">2011/6/29 wendy <span dir="ltr">&lt;<a href="mailto:w.mungovan@yahoo.com">w.mungovan@yahoo.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
   I&#39;m working on a system that has a large number of rules and we are<br>
getting to the point where we think it would be useful to have some &#39;debug&#39;<br>
or &#39;warning&#39; type rules (for lack of a better word).    The warning rules<br>
would be rules that would signal to us that something is wrong with the<br>
underlying data and would require someone to go in and fix something.  I was<br>
wondering if there are some standard practice as to how to write, maintain,<br>
format... these rules.  I can think of a couple of ways to do this but I<br>
would like the communities opinion. We would also like the ability to turn<br>
on/off these debug or warning rules easily while the rest of the system<br>
keeps on processing.<br>
<br>
Thank you,<br>
Wendy<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Common-Practices-for-warning-or-debug-rules-messages-tp3124178p3124178.html" target="_blank">http://drools.46999.n3.nabble.com/Common-Practices-for-warning-or-debug-rules-messages-tp3124178p3124178.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div></div>