Probably a question for the user list - this is for the development of drools itself. <br><br><div class="gmail_quote">On Wed, Sep 16, 2009 at 1:35 PM, Nikhil S. Kulkarni <span dir="ltr">&lt;<a href="mailto:Nikhil.Kulkarni@mastek.com">Nikhil.Kulkarni@mastek.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p>Hi,</p>

<p>I am Using Drools 5</p>

<p> </p>

<p>I am facing following Issue :-</p>

<p><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">      
</span></span>I am trying to access a rule Using rule flow Process
but I am unable to access rule constraint reference</p>

<p>Variable which is easily accessible in normal .drl
file</p>

<p> </p>

<p>Following is the e.g. :-</p>

<p>In rule flow file, in Split node with XOR option, I
have Written when condition in one of its Constraint</p>

<p>e.g.        <b><span style="color:red">emp</span></b> : Employee(age&gt;30,salary&gt;25000)</p>

<p>In this case <b><span style="color:red">emp</span></b>
is my rule reference variable. I am trying  to access this  <b><span style="color:red">emp</span></b> in Action node where I have written my then
Condition. </p>

<p>e.g. System.out.println(emp.getName());</p>

<p> but I am not able to get Control of same reference
Variable <b><span style="color:red">emp</span></b>. SO My Question is how to
obtain same Employee object in that Action node.</p>

<p> </p>

<p> </p>

<p>Looking forward to listen from you.</p>

<p> </p>

<p>Thanks &amp; Regards,</p>

<p>Nikhil </p>

<p> </p>

</div>

<br><br><table bgcolor="white" style="color:black"><tbody><tr><td><br>MASTEK LTD.<br>
Mastek is in NASSCOM&#39;s &#39;India Top 20&#39; Software Service Exporters List.<br>
In the US, we&#39;re called MAJESCOMASTEK<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
</td></tr></tbody></table></div>


<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>