On 10/02/2014, Mauricio Salatino <[email protected]> wrote: > 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. >
Please clarify as this sounds as if you can change, programmatically, the agenda group of a rule. I'm not aware that you can, but maybe this is just not expressed very well? -W > > > On Mon, Feb 10, 2014 at 12:16 PM, jcarpene > <[email protected]>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 >> [email protected] >> 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 - > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
