[rules-users] Activation group and list of contained objects

Wolfgang Laun wolfgang.laun at gmail.com
Sat Jul 9 13:34:23 EDT 2011


The Expert manual:

"Rules that belong to the same activation-group, identified by this
attribute's string value, will only fire exclusively. In other words, the
first rule in an activation-group to fire will cancel the other rules'
activations, i.e., stop them from firing."

-W

On 9 July 2011 18:13, Wishing Carebear <wishing.carebear at gmail.com> wrote:

> Let's say there is an employee with 4 address and all addresses should
> satisfies rule1.
>
> There are 4 rules with activation group of address. I see rule1 fired
> only once and not 4 times.
>
> Using Drools 5.2
>
> On Saturday, July 9, 2011, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> >
> >
> > 2011/7/9 Wishing Carebear <wishing.carebear at gmail.com>
> >
> > Hi,
> > I have an employee object that contains list of Address.Activation group
> is defined on the Address rules. The Address list contains 4 address and 3
> of them satisfies the Rule1. But all the rules are defined in the same
> activation group.
> >
> > Observe
> > Where?
> > -W
> >   that only one Address element executes the first rule. Is the expected
> bahvior of Activation group?
> >
> > Thanks for your time,
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> >
>
> _______________________________________________
> 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/20110709/5d08d1c6/attachment.html 


More information about the rules-users mailing list