<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.gmailquote
        {mso-style-name:gmail_quote;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hey guys,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Is there any timeframe attached to when 4.0.1 will be out? I am
working on a project that is using quite a bit of static functions in the LHS,
I believe there is bugs that was mentioned before with MVEL concerning this.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Juan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b>On Behalf Of </b>Edson Tirelli<br>
<b>Sent:</b> 26 August 2007 01:35 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] exists...<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
&nbsp;&nbsp;&nbsp; Manukyan<br>
<br>
&nbsp;&nbsp;&nbsp; If it is not firing, it is a bug. Although we fixed several
related bugs for 4.0.1 that shall be out soon. <br>
&nbsp;&nbsp;&nbsp; If you can provide a test case and open a Jira, I can do
some further debugging. Essentially, the difference between the rules is that
expression in the first rule is being converted into an MVEL expression,
because of the nested accessors, while the second is a pure drools expression. <br>
<br>
&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp; Edson<o:p></o:p></p>

<div>

<p class=MsoNormal><span class=gmailquote>2007/8/25, Manukyan, Sergey &lt;<a
href="mailto:SManukyan@lear.com">SManukyan@lear.com</a>&gt;:</span><o:p></o:p></p>

<div>

<div>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Folks,</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Using
4.0 GA.</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Need
to have a rule that executes when there exists a Supplier with business status
== active. I am inserting Supplier in working memory.</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>I
did that :</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>rule
#1</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>when</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exists( Supplier( businessStatus.status.isActive == true ) )</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>then</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println(&quot;FOUND!!!!&quot;);</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>End</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>But
it doesn't work&#8230;.</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Although
other rules like if there is supplier with name = &quot;SOME NAME&quot; &#8211;
they work :</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>rule
#2</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>when</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
exists( Supplier( name == &quot;SOME NAME&quot; ) )</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>then</span><o:p></o:p></p>

<p style='text-indent:36.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.out.println(&quot;FOUND!!!!&quot;);</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>End</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Any
ideas how to make rule #1 work&#8230;. ?</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Thanks,</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Sergey</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>&nbsp;</span><o:p></o:p></p>

</div>

</div>

<table class=MsoNormalTable border=0 cellpadding=0>
 <tr>
  <td style='background:white;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='color:black'>**********************<br>
  ** LEGAL DISCLAIMER **<br>
  **********************<br>
  <br>
  This E-mail message and any attachments may contain <br>
  legally privileged, confidential or proprietary <br>
  information. If you are not the intended recipient(s),<br>
  or the employee or agent responsible for delivery of <br>
  this message to the intended recipient(s), you are <br>
  hereby notified that any dissemination, distribution <br>
  or copying of this E-mail message is strictly <br>
  prohibited. If you have received this message in <br>
  error, please immediately notify the sender and <br>
  delete this E-mail message from your computer.</span><o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
&nbsp;&nbsp;Edson Tirelli<br>
&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>
&nbsp;&nbsp;Office: +55 11 3529-6000<br>
&nbsp;&nbsp;Mobile: +55 11 9287-5646<br>
&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>
<o:p></o:p></p>

</div>

</body>

</html>

<table><tr><td bgcolor=#ffffff><font color=#000000>"Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude<br>
electronic transactions or to enter into electronic agreements on behalf<br>
of Lonplats. Any electronic signature (other than an advanced electronic<br>
signature as defined in the Electronic Communications and Transactions<br>
Act of 2003) added to a data message (such as an email or an attachment<br>
to an (email) ostensibly on behalf of Lonplats by a Lonplats employee shall<br>
not be legally binding on Lonplats and Lonplats shall incur no liability of<br>
any nature whatsoever, directly or indirectly, arising from such act on the<br>
part of it's employee. It is further recorded that nothing (other than an<br>
advanced electronic signature) inserted into any data message<br>
emanating from Lonplats shall be construed as constituting an electronic<br>
signature"<br>
</font></td></tr></table>