[rules-users] Managing Sets of Rules
Tim Lee
findtimlee at gmail.com
Wed Jun 13 06:34:06 EDT 2012
Thanks Wolfgang, I'll check it out.
Tim.
On 13 June 2012 11:32, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> Agenda Group: a set of rules with a common agenda group identifier
> that can be activated via the API. The identifier can be set for
> decision tables. See the Expert manual on both counts.
>
> -W
>
>
> On 13/06/2012, tlee <findtimlee at gmail.com> wrote:
> > Hi,
> >
> > Are there any guidelines or recommendations for how best to isolate
> > different groups of rules? For example, I'm using decision tables to do
> > some (initially) simple inter-system value mappings/translation. The
> > generated rules look like this:
> >
> > Decision Table 1:
> >
> > rule "mapCountry"
> > salience 65496
> > when
> > String(toString == 'SRI LANKA')
> > then
> > result.put('countryCode', 'apac.sri-lanka');
> > drools.halt();
> > end
> >
> > I will have other decision tables that also match against String values.
> >
> > If I want to isolate these decision tables so that only one set of the
> > rules
> > fire when calling 'execute' on the knowledge session, should I put them
> in
> > different knowledge bases? Or is there another way? Or am I going about
> > this the wrong way all together?
> >
> > Many Thanks,
> >
> > Tim.
> >
> > --
> > View this message in context:
> > http://drools.46999.n3.nabble.com/Managing-Sets-of-Rules-tp4017898.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
> >
> _______________________________________________
> 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/20120613/5b2a3a3b/attachment-0001.html
More information about the rules-users
mailing list