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(a)lists.jboss.org [mailto:rules-users-bounces@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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users