<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText90362 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>&nbsp;</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am using Drools 4.0.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>As per the Drools 4.0 documentation if we are declaring a object as <STRONG><FONT color=#0000ff>global</FONT></STRONG> then we can not&nbsp;use <STRONG><FONT color=#0000ff>"insert(java.lang.Object Object)"</FONT></STRONG> method on this object.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>It will be inserted implecetly.Now if we want to <STRONG><FONT color=#0000ff>update</FONT></STRONG> this object in the RHS part of our rule file then we need the <STRONG><FONT color=#0000ff>"FactHandle"</FONT></STRONG> for the object.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Now as we know that the return type of <STRONG><FONT color=#0000ff>"setGlobal(java.lang.String&nbsp;identifier, java.lang.Object&nbsp;value)"</FONT></STRONG> method is&nbsp;<STRONG><FONT color=#0000ff>"void"</FONT>.</STRONG></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>So please tell me that how can i update this object in my rule file?<FONT face="Times New Roman">&nbsp;</FONT><BR></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks.</DIV></FONT>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature45747 dir=ltr>
<DIV><FONT face=Arial><EM><STRONG>With Regards</STRONG></EM></FONT></DIV>
<DIV><FONT face=Arial><EM><STRONG>Prateek Katiyar</STRONG></EM></FONT></DIV></DIV></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. <br>
<br>
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.<br>
 <br>
www.wipro.com<br>
</font></td></tr></table>