<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=304061210-16072010>session.addEventListener(yourEventListener)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=304061210-16072010>more info at <A 
href="http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-flow/html_single/index.html#d0e1401">http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-flow/html_single/index.html#d0e1401</A>&nbsp;</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=304061210-16072010>:)</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=304061210-16072010></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>r<SPAN class=304061210-16072010>ead the doc man! It 
would be easier for you ;)</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De&nbsp;:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>De la part de</B> santosh 
mukherjee<BR><B>Envoyé&nbsp;:</B> vendredi 16 juillet 2010 
12:03<BR><B>À&nbsp;:</B> Rules Users List<BR><B>Objet&nbsp;:</B> Re: 
[rules-users] Problem in Drools Flow<BR></FONT><BR></DIV>
<DIV></DIV>Hi,
<DIV><BR></DIV>
<DIV>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.</DIV>
<DIV><BR></DIV>
<DIV>Thanks.</DIV>
<DIV>Santosh Mukherjee<BR><BR>
<DIV class=gmail_quote>On Fri, Jul 16, 2010 at 1:24 PM, santosh mukherjee <SPAN 
dir=ltr>&lt;<A 
href="mailto:sam.sensation@gmail.com">sam.sensation@gmail.com</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,
  <DIV><BR></DIV>
  <DIV>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?&nbsp;</DIV>
  <DIV><BR></DIV>
  <DIV>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??</DIV>
  <DIV><BR></DIV>
  <DIV>I guess basically what I am asking is are all the event object processed 
  from the start node of the process in drools flow?</DIV>
  <DIV><BR></DIV>
  <DIV>Thank You</DIV>
  <DIV>Santosh Mukherjee<BR><BR>
  <DIV class=gmail_quote>2010/7/16 PAYET, Manuel <SPAN dir=ltr>&lt;<A 
  href="mailto:manuel.payet@capgemini.com" 
  target=_blank>manuel.payet@capgemini.com</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV>
    <DIV></DIV>
    <DIV class=h5>
    <DIV>
    <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>You can 
    make&nbsp;the session a parameter of the constructor of your handler 
    :)</FONT></SPAN></DIV><BR>
    <DIV lang=fr dir=ltr align=left>
    <HR>
    <FONT face=Tahoma size=2><B>De&nbsp;:</B> <A 
    href="mailto:rules-users-bounces@lists.jboss.org" 
    target=_blank>rules-users-bounces@lists.jboss.org</A> [mailto:<A 
    href="mailto:rules-users-bounces@lists.jboss.org" 
    target=_blank>rules-users-bounces@lists.jboss.org</A>] <B>De la part de</B> 
    santosh mukherjee<BR><B>Envoyé&nbsp;:</B> vendredi 16 juillet 2010 
    08:18<BR><B>À&nbsp;:</B> Rules Users List<BR><B>Objet&nbsp;:</B> 
    [rules-users] Problem in Drools Flow<BR></FONT><BR></DIV>
    <DIV>
    <DIV></DIV>
    <DIV>
    <DIV></DIV>Hi, 
    <DIV><BR></DIV>
    <DIV>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?</DIV>
    <DIV><BR></DIV>
    <DIV>Thanks</DIV>
    <DIV>Santosh Mukherjee</DIV><PRE></PRE></DIV></DIV>
    <P style="FONT-FAMILY: arial">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></PRE></DIV><BR></DIV></DIV>_______________________________________________<BR>rules-users 
    mailing list<BR><A href="mailto:rules-users@lists.jboss.org" 
    target=_blank>rules-users@lists.jboss.org</A><BR><A 
    href="https://lists.jboss.org/mailman/listinfo/rules-users" 
    target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></DIV><BR></DIV><pre></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>
</pre></BODY></HTML>