<div dir="ltr">If rows have default values they will populate the cells when you add a new row.<div><br></div><div>You could set default values, add your rows, and then remove said default values if no longer applicable.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 April 2014 13:35, SSWA <span dir="ltr">&lt;<a href="mailto:alexsim_88@hotmail.com" target="_blank">alexsim_88@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Attached is a sample rule decision table that I have set up.<br>
<br>
As you can see, I have designed my conditions very nicely in the picture.<br>
But if I were to add a new check, I will actually have to slowly key in the<br>
values.<br>
<br>
I&#39;m wondering if there is any way that when I slot a condition into row 4,<br>
it will auto populate the other fields that are &quot;grouped&quot; together. This<br>
way, I wouldn&#39;t have to re-write those condition&#39;s information.<br>
<br>
So example if I have a new module coming in for P1 called MODULE-A, and I<br>
want to create a condition for it to say if the nationality is FR and<br>
Eligibility is Y, it is 500 dollar. I will probably click the + button at<br>
row 5 or even row 6. Then the fields, &quot;P1&quot;, &quot;Nationality&quot;, &quot;Eligibility&quot;,<br>
&quot;Fee Code&quot; will all be populated since they are grouped, and I will just key<br>
in the Module Code.<br>
<br>
Is there any way to do this?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="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" target="_blank">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</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>