[rules-users] More than one agenda group for a rule?

Bagwell, Allen F afbagwe at sandia.gov
Wed Aug 27 15:30:31 EDT 2008


That's not so welcome news. Our old rule engine software had this ability. We'll find a work-around, but is this being considered in a later update to Drools?  My thought is that rule should be like method: you really should only need to write it once.

-A


-----Original Message-----
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mark Proctor
Sent: Wednesday, August 27, 2008 12:07 PM
To: Rules Users List
Subject: Re: [rules-users] More than one agenda group for a rule?

Bagwell, Allen F wrote:
>
> I was wondering (hoping) that there is a way to put a rule into more
> than one agenda group?
>
> I've tried writing:
>
> rule "example"
>    agenda-group "process x stuff"
>    agenda-group "process y stuff"
>    when
>         (blah, blah, blah)
>    then
>         (blah, blah, blah)
> end
>
> But while the compiler has no problems with this it really only
> includes the rule in the last agenda-group listed.
nope, not possible.
>
> Thanks,
> Allen
>
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> 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






More information about the rules-users mailing list