<br> Mark,<br><br> Hmmm, something is going on with mvel integration... bellow must work. <br> 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> <br> Thanks, <br> <br> []s<br> Edson<br><br><div><span class="gmail_quote">2007/8/2, <a href="mailto:mark.mcnally@comcast.net">mark.mcnally@comcast.net</a> <<a href="mailto:mark.mcnally@comcast.net">
mark.mcnally@comcast.net</a>>:</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"> at org.drools.rule.Package.checkValidity
(Package.java:408)<br> at org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:288)<br></span></div><div style="direction: ltr;"> at [...]<br><br>This is my rule:<br><br>rule State<br></div><div style="direction: ltr;">
<span class="q"> dialect "mvel"<br> when<br> $ca:CandidateAssociation( eval ( ! nurseDetails.stateLicensures.contains( patientDetails.state ) ) )<br> then<br></span></div><div style="direction: ltr;">
retract( $ca );<br>end<br><br>I haven'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>