Ok, I think that HTML tables get mangled. I'll mail it to you directly.<br><br><div><span class="gmail_quote">2007/2/13, Joost de Vries <<a href="mailto:drools@ziener.org">drools@ziener.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Edson,<br><br>I've abstracted our use case since I gather you don't understand the dutch legal system. :-)<br><br>Given a decision table like this ( I hope you are able to read the HTML post correctly)<br><br><table style="width: 144pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="192">
<tbody><tr height="18"><td style="border-style: solid; border-color: windowtext; border-width: 1.5pt 1pt 1pt 1.5pt; padding: 0cm 3.5pt; background: rgb(255, 204, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffcc99" height="18" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
<td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1.5pt 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(255, 204, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffcc99" height="18" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
<td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1.5pt 1.5pt 1pt medium; padding: 0cm 3.5pt; background: rgb(255, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffff99" height="18" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt 1.5pt; padding: 0cm 3.5pt; background: rgb(255, 204, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffcc99" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(255, 204, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffcc99" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; background: rgb(255, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 48pt;" bgcolor="#ffff99" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt 1.5pt; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">A</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">p</span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt 1.5pt; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">II</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">B</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">q</span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt 1.5pt; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">III</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">C</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">r</span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt 1.5pt; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">IV</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">D</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">s</span></font></p>
</td>
</tr>
<tr height="17">
<td rowspan="3" style="border-style: none solid solid; border-color: -moz-use-text-color windowtext black; border-width: medium 1pt 1.5pt 1.5pt; padding: 0cm 3.5pt; width: 48pt;" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">none of the above</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">E</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">t</span></font></p>
</td>
</tr>
<tr height="17">
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">F</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1pt medium; padding: 0cm 3.5pt; width: 48pt;" height="17" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">u</span></font></p>
</td>
</tr>
<tr height="35">
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1.5pt medium; padding: 0cm 3.5pt; width: 48pt;" height="35" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">none of the above</span></font></p>
</td>
<td style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1.5pt 1.5pt medium; padding: 0cm 3.5pt; width: 48pt;" height="35" nowrap="nowrap" valign="bottom" width="64">
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">v</span></font></p>
</td>
</tr>
</tbody></table>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> we are looking for a keyword that has a meaning similar to "none of the above"</span></font></p><p><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">The point of this functionality for us is that the business analyst is only interested in the values I to IV but possibly there are 20 or more values. <br></span></font>
</p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The semantics that we need would be such that this would translate into the following rules</span></font></p><p><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">I and A then p</span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">II and B then q <br></span></font></p><p><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">III and C then r</span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">IV and D then s</span></font></p><p><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">not(I) and not(II) and not(III) and not(IV) and E then t<br></span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">not(I) and not(II) and not(III) and not(IV) and F then u
</span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">not(I) and not(II) and not(III) and not(IV)</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
and not(A) and not(B) and not(C) and not(D) then v</span></font></p><p>I hope this answers your questions.<br><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p><p><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">We will need this functionality pretty soon.....</span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Can you give an indication what the priority is for you guys for this functionality?
</span></font></p><p><br><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">groetjes uit Nederland,
</span></font></p><p><br><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p><p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Joost<br></span>
</font>
</p><br><br><div><span class="gmail_quote">2007/2/7, Edson Tirelli <<a href="mailto:tirelli@post.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tirelli@post.com</a>>:</span><div><span class="e" id="q_110bb10304af33c2_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br> Joost,
<br><br> Unfortunatelly, there is no feature implemented for that. But we are
<br>discussing, specially the semantics we want to define to such statements<br>( we call them "else" and "otherwise" ).<br> If you have a real use case and you can describe it for us, it may<br>help on deciding which way to go, and at the same time fullfil your
<br>needs in the future.<br><br> Our biggest questions are:<br><br>* should the "else/otherwise" part be fired only once if no rule is<br>triggered? or should it fire for each tuple that does not trigger<br>
previous rules? What if rules in the "otherwise" group use different
<br>tuples to activate?<br><br>* should "else/otherwise" apply to the whole LHS of the rules? Or should<br>there be a way to specify only part of the LHS (like a tag)?<br><br> Input welcome.<br><br> Edson
<br>
<br>Joost de Vries wrote:<br><br>> Hi,<br>><br>> We're using excel decision tables to specify our business rules.<br>> In one column we enumerate several condition values and describe a<br>> specific effect.
<br>> We'd like to offer business analysts te possibility of describing<br>> succinctly what the effect is 'for all other values'.<br>> That could be described as an 'else' or 'default' rule.
<br>><br>> In other words; we don't want to burden business analysts with the<br>> necessity to enumerate all other values.<br>><br>> What is the right way to do that?<br>><br>> Thanks for you help.
<br>><br>> groetjes,<br>> Joost<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________<br>>rules-users mailing list
<br>><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org</a><br>><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>><br>
><br><br><br>--<br> Edson Tirelli<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3124-6000<br> Mobile: +55 11 9218-4151<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
www.jboss.com
</a><br><br><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></span></div></div><br><br clear="all"><div><span class="e" id="q_110bb10304af33c2_3"><br>-- <br>Joost de Vries<br>06 22375323<br>werk: <a href="mailto:joost.de.vries@ordina.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
joost.de.vries@ordina.nl</a><br>
privé: <a href="mailto:joost@ziener.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">joost@ziener.org</a>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Joost de Vries<br>06 22375323<br>werk: <a href="mailto:joost.de.vries@ordina.nl">joost.de.vries@ordina.nl</a><br>privé: <a href="mailto:joost@ziener.org">joost@ziener.org
</a>