If condition 1 column is left blank, this could be achieved.<br><br><div class="gmail_quote">On Tue, Jul 12, 2011 at 11:56 AM, Syargey <span dir="ltr">&lt;<a href="mailto:Syargey@tut.by">Syargey@tut.by</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I have been asked to add default rules to a decision table.<br>
<br>
We have a decision table with several conditions. Data from first two<br>
columns are passed to action with binded variables. The action collects data<br>
from all passed rules.<br>
<br>
-------------------------------------<br>
condition 1 | condition 2 | ... | action<br>
-------------------------------------<br>
 AAA         | AD            | ... |  X<br>
-------------------------------------<br>
 BBB          | AD            | ... |  X<br>
-------------------------------------<br>
 BBB          | AE            | ... |  X<br>
-------------------------------------<br>
 BBB          | CC            | ... |  X<br>
-------------------------------------<br>
 CCC         | AD            | ... |  X<br>
-------------------------------------<br>
 DDD         | AD            | ... |  X<br>
-------------------------------------<br>
 BBB          | AE            | ... |  X<br>
-------------------------------------<br>
 ...            | ...            | ... |  X<br>
-------------------------------------<br>
<br>
Recently business asked me if it is possible to have default rules (rows) in<br>
the table if there is not any rule passing condition 1.<br>
<br>
-------------------------------------<br>
 DEFAULT   | AD            | ... |  X<br>
-------------------------------------<br>
 DEFAULT   | AE            | ... |  X<br>
-------------------------------------<br>
<br>
Is it possible to have rules in decision table those can be fired only if a<br>
specific part of LHS never occurs in others rules?<br>
<br>
<br>
Thanks in advance,<br>
<br>
Syargey<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/decision-tables-and-default-rules-for-case-when-part-of-LHS-failes-for-other-rules-tp3162872p3162872.html" target="_blank">http://drools.46999.n3.nabble.com/decision-tables-and-default-rules-for-case-when-part-of-LHS-failes-for-other-rules-tp3162872p3162872.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>
</font></blockquote></div><br>