You can make the session a parameter of the constructor of your handler :)


De : rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] De la part de santosh mukherjee
Envoyé : vendredi 16 juillet 2010 08:18
À : Rules Users List
Objet : [rules-users] Problem in Drools Flow

Hi,

How can I access the working memory of a process when inside a handler?? I want to check if certain object is inside the working memory, then only the process should exit from the workItem. Any idea on how this is to be done is welcome?

Thanks
Santosh Mukherjee

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.