<br>&nbsp;&nbsp;&nbsp; Mark,<br><br>&nbsp;&nbsp;&nbsp; Hmmm, something is going on with mvel integration... bellow must work. <br>&nbsp;&nbsp;&nbsp; There are work arounds (like using plain java code, or using multiple patterns), but I think we need to fix that. Can you please include this info in the ticket. 
<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Thanks, <br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp; []s<br>&nbsp;&nbsp;&nbsp;&nbsp; Edson<br><br><div><span class="gmail_quote">2007/8/2, <a href="mailto:mark.mcnally@comcast.net">mark.mcnally@comcast.net</a> &lt;<a href="mailto:mark.mcnally@comcast.net">
mark.mcnally@comcast.net</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;">Edson,<br><br>Thank you for the response. I tried writing the in-line eval as suggested but get this Exception:
<br><br>org.drools.rule.InvalidRulePackage: Unable to determine the used declarations : [Rule name=State, agendaGroup=MAIN, salience=0, no-loop=false]<br></div><div style="direction: ltr;"><span class="q"> &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.rule.Package.checkValidity
(Package.java:408)<br> &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:288)<br></span></div><div style="direction: ltr;"> &nbsp; &nbsp; &nbsp; &nbsp;at [...]<br><br>This is my rule:<br><br>rule State<br></div><div style="direction: ltr;">
<span class="q"> &nbsp; &nbsp;dialect &quot;mvel&quot;<br> &nbsp; &nbsp; &nbsp; &nbsp;when<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ca:CandidateAssociation( eval ( ! nurseDetails.stateLicensures.contains( patientDetails.state ) ) )<br> &nbsp; &nbsp; &nbsp; &nbsp;then<br></span></div><div style="direction: ltr;">
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;retract( $ca );<br>end<br><br>I haven&#39;t yet but, plan to open an issue in JIRA as requested<br><br>Thanks for your help.<br>Mark<br></div><div style="direction: ltr;"><span class="q"><br></span></div></blockquote>
</div><br>