lock-on-active:<br>The manual describes it quite accurately: after a ruleflow/agenda group<br>has become active, all (pending) activations <b>of this group</b> are discarded and further<br>activations <b>of rules from this group </b>will not happen until the group has been left.<br>
<br><br>On 5 December 2011 03:47, Zhao Yi <<a href="mailto:zhaoyi0113@gmail.com">zhaoyi0113@gmail.com</a>> wrote:<br>> the pending activations mean the rules in other group or this group? If a<br>> group left, all its rules will leave, right?<br>
<br>Rules don't "leave". Do you mean activations? <br><br>If an agenda group A is left, there are two cases to consider:<br><div style="text-align: left;"><ol><li>All activations from group A have been fired. Therefore, agenda group A "loses the focus", and the agenda group that had the focus previously receives the focus (becomes active) again.</li>
<li>Focus may be given (by an API method call) to another agenda group B while there still are some activations from group A pending. Eventually, A will receive the focus again, and rule firings from A continue as usual. <br>
</li></ol></div>-W<br>><br>> --<br>> View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-use-lock-on-active-tp3558698p3560348.html">http://drools.46999.n3.nabble.com/How-to-use-lock-on-active-tp3558698p3560348.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">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br>