[rules-users] [Drools Activation-group] / how to set many activation groups

Mauricio Salatino salaboy at gmail.com
Mon Feb 10 07:24:15 EST 2014


It seems that you can define a rule to codify what you are explaining. You
can change the agenda groups using rules, so you can write a rule that know
how and when change the agenda groups for each of your codes.



On Mon, Feb 10, 2014 at 12:16 PM, jcarpene <jerome.carpene at sopragroup.com>wrote:

> Hello,
>
> I am trying to implement some rules that need more that a unique
> Activation-group.
>
> My case is related to some Voucher codes for online shopping. A simple case
> works great, by defining an Activation-group to make sure 2 Voucher codes
> cannot be used at the same time.
>
> But now I need 2 Voucher codes (say Code 1, Code 2) to be compatible (no
> activation-group) and a 3rd code (Code 3) to be disabled if Code 1 or Code
> 2
> is used. If I use a XOR group name as an Activation-group, then Code 1 and
> Code 2 will have a same Activation-group and will be exclusive (which I do
> not want).
>
> Do you know a way of setting multiple Activation-Groups for example, or any
> workaround for that case ?
>
>
> Regards,
>
> Jerome
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Drools-Activation-group-how-to-set-many-activation-groups-tp4028033.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
>



-- 
 - MyJourney @ http://salaboy.com <http://salaboy.wordpress.com>
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140210/34b1f697/attachment.html 


More information about the rules-users mailing list