[rules-users] If I have a rule that has a lot of permutation, which is the best approach to set it up? (Currently using decision table)

Michael Anstis michael.anstis at gmail.com
Fri Apr 11 09:05:12 EDT 2014


If rows have default values they will populate the cells when you add a new
row.

You could set default values, add your rows, and then remove said default
values if no longer applicable.


On 11 April 2014 13:35, SSWA <alexsim_88 at hotmail.com> wrote:

> Attached is a sample rule decision table that I have set up.
>
> As you can see, I have designed my conditions very nicely in the picture.
> But if I were to add a new check, I will actually have to slowly key in the
> values.
>
> I'm wondering if there is any way that when I slot a condition into row 4,
> it will auto populate the other fields that are "grouped" together. This
> way, I wouldn't have to re-write those condition's information.
>
> So example if I have a new module coming in for P1 called MODULE-A, and I
> want to create a condition for it to say if the nationality is FR and
> Eligibility is Y, it is 500 dollar. I will probably click the + button at
> row 5 or even row 6. Then the fields, "P1", "Nationality", "Eligibility",
> "Fee Code" will all be populated since they are grouped, and I will just
> key
> in the Module Code.
>
> Is there any way to do this?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/If-I-have-a-rule-that-has-a-lot-of-permutation-which-is-the-best-approach-to-set-it-up-Currently-usi-tp4029207.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140411/30f7abd3/attachment.html 


More information about the rules-users mailing list