After reading this description, I don&#39;t see any reason for using auto-focus in the rule you have presented in the original email; especially the combination with setFocus() in the RHS looks rather kinky to me.<br><br>Do you really mean that the final state after group2 is expected to be &quot;<b>in</b>consistent&quot; w.r.t. the checks in group1?<br>
<br>Anyway, I would use a rule in MAIN to give the focus to group1 and then to group2 and avoid auto-focus and any &quot;control logic&quot; in the rules of either group.<br><br>-W<br><br><br><div class="gmail_quote">On 26 January 2011 20:47, Evert Penninckx <span dir="ltr">&lt;<a href="mailto:evert.penninckx@gmail.com">evert.penninckx@gmail.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;"><br>
<br>
manstis wrote:<br>
&gt;<br>
&gt; Were the rules in Agenda Group &quot;group1&quot; executed, or merely evaluated?<br>
&gt;<br>
&gt; Agenda Group controls which activations on the agenda are executed, rules<br>
&gt; in<br>
&gt; all Agenda Groups will continue to be evaluated.<br>
&gt;<br>
<br>
I figured as much. But they&#39;re still being fired.<br>
<br>
I haven&#39;t had the chance to test this on a simple case. My ruleset has for<br>
now about 5 to 10 rules in group1 and about 15 in group2. Group1 evaluates<br>
the initial state of the working memory and signals possible inconsistencies<br>
(inserted as message facts in drool). The second group modifies facts in the<br>
working memory. The final state is expected to be inconsistent in regard to<br>
the consistency checks on the initial state. Yet, I see warnings being<br>
entered in drools after group2 modified facts....<br>
<br>
I could consider a rule flow, but the checks are only there to debug<br>
abnormal behaviour and not related to a business process or something.  I&#39;d<br>
really want to keep it hidden from the java-code calling the drools rules.<br>
<br>
<br>
<br>
Grtz<br>
<br>
E.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Clearing-an-AgendaGroup-tp2353014p2356753.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Clearing-an-AgendaGroup-tp2353014p2356753.html</a><br>

Sent from the Drools - User 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>