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

Mark Proctor mproctor at codehaus.org
Wed Aug 27 16:05:48 EDT 2008


Bagwell, Allen F wrote:
> 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.
>   
no plans to add this, especially as ruleflow is the preferred way to 
orchestration rules so that's where our focus is these days. Which is 
your old rule engine that supported this? I don't believe jess or clips 
allow a rule to live in multiple modules - which is what AgendaGroups is 
based on.

Mark
> -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
>
>
>
> _______________________________________________
> 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/20080827/d61f73b1/attachment.html 


More information about the rules-users mailing list