exists(<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>TblVersichKlinik(</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>(versicherung != null, versicherung != &quot; &quot;) || </div></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>(zusatzversicherung !=null, zusatzversicherung != &quot; &quot;)</div>
</blockquote><div><div>)</div></div></blockquote>)<br><div><div><br></div><div>Not tested, but should be like this...</div><div>Regards</div><div><br><div class="gmail_quote">2010/6/18 skasab2s <span dir="ltr">&lt;<a href="mailto:skasab2s@smail.inf.fh-brs.de">skasab2s@smail.inf.fh-brs.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hello,<br>
<br>
we are using Drools Expert. We have a rule which should fire if at least one<br>
of the object attributes are not empty. This is my pattern:<br>
<br>
( TblVersichKlinik(versicherung != null, versicherung != &quot; &quot;)<br>
or<br>
(TblVersichKlinik(zusatzversicherung !=null, zusatzversicherung != &quot; &quot;)) )<br>
<br>
The problem is the following: when BOTH conditions are fulfilled, the rule<br>
fires twice, so I get redundant results in my final result, and this is not<br>
wanted.<br>
<br>
Is there a way to solve the problem? Any ideas ?<br>
<br>
Thanks a lot and many regards!<br>
<br>
skasab2s<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Problems-with-OR-tp905689p905689.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Problems-with-OR-tp905689p905689.html</a><br>

Sent from the Drools - User 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></div></div>