Hi.
I have a bean which has some properties; p1, p2 ... px.
I would like to write a rule in a decision table that tests if some of these
parameters are null.
I wrote it in this way:


+---------------+---------------+---------------+
|CONDITION      |CONDITION      |CONDITION      |
|myBean:Bean                                    |
|$param == null |$param == null |$param == null |
|Rule1          |Rule2          |Rule3          |
|p1             |p2             |               |
|p1             |p2             |p3             |
|p4             |               |               |
+---------------+---------------+---------------+                  


I would like to avoid writing n columns. It is possible to write such a rule
using only one column?

Regards

Fabiano
-- 
View this message in context: 
http://n3.nabble.com/Checking-multiple-null-values-tp120674p120674.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to