[rules-users] How to use lock-on-active?

Wolfgang Laun wolfgang.laun at gmail.com
Mon Dec 5 01:50:23 EST 2011


lock-on-active:
The manual describes it quite accurately: after a ruleflow/agenda group
has become active, all (pending) activations *of this group* are discarded
and further
activations *of rules from this group *will not happen until the group has
been left.


On 5 December 2011 03:47, Zhao Yi <zhaoyi0113 at gmail.com> wrote:
> the pending activations mean the rules in other group or this group? If a
> group left, all its rules will leave, right?

Rules don't "leave". Do you mean activations?

If an agenda group A is left, there are two cases to consider:

   1. 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.
   2. 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.

-W
>
> --
> View this message in context:
http://drools.46999.n3.nabble.com/How-to-use-lock-on-active-tp3558698p3560348.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111205/e932bba9/attachment.html 


More information about the rules-users mailing list