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.

CONDITION           CONDITION               CONDITION              ACTION
Y                                                                                                               result1
N                   N                       Y                      result2
N                   N                       N                      result3
N                   Y                       N                      result4
N                   Y                       Y                      result5


On 12 March 2013 10:03, ciberg2 <joaoguerra72@gmail.com> wrote:
Hi, I'm new to Drools and I'm implementing rules using Excel decision tables
and I need some of your help.

I have some rules in which depending on a condition the following condition
is not necessary, how can I define a table that akllows to define this?

For instance I have:
CONDITION           CONDITION               CONDITION              ACTION
Y
result1
N                        N                             Y
result2
N                        N                             N
result3
N                        Y                             N
result4
N                        Y                             Y
result5

In the example above (I hope you can see it right) if the first condition
value is Y the other 2 conditions values don't matter and despite their
value the result will always be the same.
I wouldn't want to have to write all the possible combinations as these in
the real case will add a lot of complexity to the tables.

How can I accomplish this? Is it possible to do it in Excel? If not, how can
I do it in another way (for instantance with guvnor web-based tables).



--
View this message in context: http://drools.46999.n3.nabble.com/Ignore-subsequent-conditions-in-a-Decision-Table-based-on-previous-condition-tp4022778.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users