"extends" is not available with rules generated from decision tables. While<div>it wouldn't be a big problem to add an option for adding "extends x" to the</div><div>rules generated from one table (or even a different extends clause to each</div>
<div>of the rules resulting from a table) I can see a problem for coming to grips</div><div>with what the user will need to write for "x".</div><div><br></div><div>If "x" is the name of a rule that's defined in a separate DRL: no problem.</div>
<div><br></div><div>But what if the user want to extend a rule from another decision table?</div><div>They have names concocted from a user supplied name and the row in</div><div>the spreadsheet. The only way to have a reliable reference would be via </div>
<div>spreadsheet native cell references. </div><div><br></div><div>-W</div><div><br><div class="gmail_quote">On 7 September 2012 20:15, lhorton <span dir="ltr"><<a href="mailto:LHorton@abclegal.com" target="_blank">LHorton@abclegal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Today's drools blog post (<br>
<a href="http://blog.athico.com/2012/09/conditional-named-consequences-in.html" target="_blank">http://blog.athico.com/2012/09/conditional-named-consequences-in.html</a> )<br>
pointed out a rule option I hadn't noticed: the "extends" option to let one<br>
rule extend another one. There is little info in the Expert docs about<br>
this, but I tried it out with drl rules and it seems to work beautifully. I<br>
can see big potential for simplifying some of our currently quite repetitive<br>
rules. My question: can this option be used in a decision table and if so,<br>
how? I don't see any reference to it in the decision table documentation.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Can-we-use-rule-extends-option-in-decision-tables-tp4019653.html" target="_blank">http://drools.46999.n3.nabble.com/Can-we-use-rule-extends-option-in-decision-tables-tp4019653.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" target="_blank">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>