[rules-users] Problem in Drools Flow

PAYET, Manuel manuel.payet at capgemini.com
Fri Jul 16 06:13:30 EDT 2010


session.addEventListener(yourEventListener)
more info at http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-flow/html_single/index.html#d0e1401
:)

read the doc man! It would be easier for you ;)
________________________________
De : rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] De la part de santosh mukherjee
Envoyé : vendredi 16 juillet 2010 12:03
À : Rules Users List
Objet : Re: [rules-users] Problem in Drools Flow

Hi,

I want my drools flow process to execute from the beginning for every event that I receive. Can anybody tell me how this can be done.

Thanks.
Santosh Mukherjee

On Fri, Jul 16, 2010 at 1:24 PM, santosh mukherjee <sam.sensation at gmail.com<mailto:sam.sensation at gmail.com>> wrote:
Hi,

Can somebody please explain to me how does the events actually flows through in a process. Do I need to have all the events objects previously stored in working memory?

I mean during the running of a process, at any node suppose I generate a new event object and insert it into ksession, then will that event object be processed from the start node of the process??

I guess basically what I am asking is are all the event object processed from the start node of the process in drools flow?

Thank You
Santosh Mukherjee

2010/7/16 PAYET, Manuel <manuel.payet at capgemini.com<mailto:manuel.payet at capgemini.com>>
You can make the session a parameter of the constructor of your handler :)

________________________________
De : rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at lists.jboss.org> [mailto:rules-users-bounces at lists.jboss.org<mailto:rules-users-bounces at 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.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users



</PRE><p style="font-family:arial;color:grey" style="font-size:13px">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.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100716/daaa3fba/attachment.html 


More information about the rules-users mailing list