exists(
TblVersichKlinik(
(versicherung != null, versicherung != " ") ||
(zusatzversicherung !=null, zusatzversicherung != " ")
)
)
Not tested, but should be like this...
Regards
2010/6/18 skasab2s <skasab2s(a)smail.inf.fh-brs.de>
Hello,
we are using Drools Expert. We have a rule which should fire if at least
one
of the object attributes are not empty. This is my pattern:
( TblVersichKlinik(versicherung != null, versicherung != " ")
or
(TblVersichKlinik(zusatzversicherung !=null, zusatzversicherung != " ")) )
The problem is the following: when BOTH conditions are fulfilled, the rule
fires twice, so I get redundant results in my final result, and this is not
wanted.
Is there a way to solve the problem? Any ideas ?
Thanks a lot and many regards!
skasab2s
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Problems-with-OR-tp90...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users