About FactHandle
by prateek.katiyar@wipro.com
Hi
I am using Drools 4.0.
As per the Drools 4.0 documentation if we are declaring a object as global then we can not use "insert(java.lang.Object Object)" method on this object.
It will be inserted implecetly.Now if we want to update this object in the RHS part of our rule file then we need the "FactHandle" for the object.
Now as we know that the return type of "setGlobal(java.lang.String identifier, java.lang.Object value)" method is "void".
So please tell me that how can i update this object in my rule file?
Thanks.
With Regards
Prateek Katiyar
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.
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.
www.wipro.com