<div>I tried with same example as in <a href="http://permalink.gmane.org/gmane.comp.java.drools.user/23689">http://permalink.gmane.org/gmane.comp.java.drools.user/23689</a> </div>
<div>just changed the exists in this example to not(exists....)</div>
<div> </div>
<div>Regards,</div>
<div>-maverik<br><br></div>
<div class="gmail_quote">2011/1/11 Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Don&#39;t use not(exists( X() )).<br>   not( X() )  <br>means &quot;there is no X&quot;. The error may be due to constraints, but you&#39;d have to show us the entire DSLR condition and its DSL definition.<br>
-W<br><br><br>
<div class="gmail_quote">2011/1/11 maverik j <span dir="ltr">&lt;<a href="mailto:maverikj348@gmail.com" target="_blank">maverikj348@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div class="h5">
<div>Hi,</div>
<div> </div>
<div>  I have been trying to add not exists constraint in dslr but its failing to parse the dslr. Here is what I am trying to do in DSLR</div>
<div><font size="2">
<p>[when][][<u>Tt</u>]here is at least one {entity}= not(exists {entity}: {entity}()) </p>
<p>If I simply use the exists constraint here then it works well. But then after adding not to it, its not getting parsed correctly.</p>
<p>error I am geeting is:</p><font color="#ff0000" size="2"><font color="#ff0000" size="2">
<p>[10,27]: [ERR 102] Line 10:27 mismatched input &#39;,&#39; expecting &#39;)&#39; in rule &quot;Rule1&quot; in pattern Person</p>
<p><font color="#000000">not sure whats going wrong here, if it is expected to work this way?</font></p>
<p><font color="#000000">thanks,</font></p>
<p><font color="#000000">-m</font></p></font></font></font></div><br></div></div>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br></blockquote></div><br><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>
<br></blockquote></div><br>