[rules-users] Confirm the usage of agenda-groups

Wolfgang Laun wolfgang.laun at gmail.com
Thu Mar 20 02:20:05 EDT 2014


Seems OK to me.
-W

On 19/03/2014, djb <dbrownell83 at hotmail.com> wrote:
> Hi all,
>
> Sorry if it seems like this is an old question, but it's hard finding a
> simple unambiguous example.  It's a stack, right?  So I push them on
> 'backwards'.
>
> I've got 5 groups of rules, and I want the groups to fire in the order I've
> described the groups as, below.
>
> I also don't want them to start firing as soon as a fact is inserted, which
> is what seems to happen, according to my activation listener.
>
> So, would I do this:
> --------------
> getAgendaGroup( "last group to fire" ).setFocus();
> getAgendaGroup( "second last group to fire" ).setFocus();
> getAgendaGroup( "middle group to fire" ).setFocus();
> getAgendaGroup( "second group to fire" ).setFocus();
> getAgendaGroup( "first group to fire" ).setFocus();
>
> insert(facts)
>
> fireAllRules()
> --------------
> ?
>
>
>
> Thanks
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Confirm-the-usage-of-agenda-groups-tp4028813.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
>


More information about the rules-users mailing list