If a CONDITION (or ACTION for that matter) is not to apply for a given rule you should be able to simply leave the cell empty.<br><br>
<span style="font-family:courier new,monospace">CONDITION           CONDITION               CONDITION              ACTION</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
Y</span>                                                                                          <span style="font-family:courier new,monospace">                    
result1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
N                   N                       Y                      result2</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
N                   N                       N                      result3</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
N                   Y                       N                      result4</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">
N                   Y                       Y                      result5</span><br style="font-family:courier new,monospace">
<br><br><div class="gmail_quote">On 12 March 2013 10:03, ciberg2 <span dir="ltr">&lt;<a href="mailto:joaoguerra72@gmail.com" target="_blank">joaoguerra72@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I&#39;m new to Drools and I&#39;m implementing rules using Excel decision tables<br>
and I need some of your help.<br>
<br>
I have some rules in which depending on a condition the following condition<br>
is not necessary, how can I define a table that akllows to define this?<br>
<br>
For instance I have:<br>
CONDITION           CONDITION               CONDITION              ACTION<br>
Y<br>
result1<br>
N                        N                             Y<br>
result2<br>
N                        N                             N<br>
result3<br>
N                        Y                             N<br>
result4<br>
N                        Y                             Y<br>
result5<br>
<br>
In the example above (I hope you can see it right) if the first condition<br>
value is Y the other 2 conditions values don&#39;t matter and despite their<br>
value the result will always be the same.<br>
I wouldn&#39;t want to have to write all the possible combinations as these in<br>
the real case will add a lot of complexity to the tables.<br>
<br>
How can I accomplish this? Is it possible to do it in Excel? If not, how can<br>
I do it in another way (for instantance with guvnor web-based tables).<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Ignore-subsequent-conditions-in-a-Decision-Table-based-on-previous-condition-tp4022778.html" target="_blank">http://drools.46999.n3.nabble.com/Ignore-subsequent-conditions-in-a-Decision-Table-based-on-previous-condition-tp4022778.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>