Hi Tammo,
Thanks for the information. But wouldn't help if ODE fires event when it
addresses a <flow> activity's start just like it does for a <while> or
<sequence>

Dhanush

-----Original Message-----
From: Tammo van Lessen [mailto:[email protected]] 
Sent: Wednesday, May 19, 2010 2:18 PM
To: [email protected]
Cc: Dhanush Gopinath
Subject: Re: Events Fired in a Flow activity

Hi Dhanush,

since the children of flow activities are executed in parallel, there is
no serialized order despite the order you get with the events. The
information about predecessors and successors of a particular activity
is however materialized in the process model. So currently the only way
is to check the control flow there and correlate it with the information
you get with the event stream.

HTH,
  Tammo

On 19.05.2010 09:48, Dhanush Gopinath wrote:
> Hi,
> I have asked this earlier, but will ask again since I didn't get any
> response. 
> Is there any way by which we can track a Flow Activity? Right now it
> doesn't throw any event while the flow activity starts?
> 
> Thanks & Regards
> Dhanush
> 
> -----Original Message-----
> From: Dhanush Gopinath [mailto:[email protected]] 
> Sent: Tuesday, February 16, 2010 9:07 PM
> To: [email protected]
> Subject: Events Fired in a Flow activity
> 
> Hi,
> 
>  
> 
> I have implemented an Event Listener for ODE and I getting all the
> events that are fired. However I am having an issue in tracing the
flow
> activity.
> 
> I have given the snippet of the flow activity below. After getting the
> ActivityExecStartEvent of the Flow1 activity, I am getting the next
> ActivityExecStartEvent and ActivityExecEndEvent event of the
subsequent
> activities in no particular order. My problem is I am not able to
trace
> the actual flow in this case. Like if AssignCS1 activity's end event
is
> fired then it may fire start event of Sequence4 activity and hence I
am
> not able to determine if Sequence4 is actually after AssignCS1 (which
in
> this case is wrong). Is there any way in which I can know if a start
> event caught is the actual successor of a previous end event which
> actually follows it in the process also?
> 
> Please let me know how can I solve this issue, if any of you guys have
> come across such a situation.
> 
>  
> 
> <flow name="Flow1">
> 
>                 <sequence name="Sequence3">
> 
>                     <assign name="AssignCS1">
> 
>                         <copy> 
> 
>                             <!-- Some Copy -->
> 
>                         </copy>
> 
>                     </assign>
> 
>                     <invoke .. some invoke ../>
> 
>                     <assign name="AssignFlow1">
> 
>                         <copy>
> 
>                                                         <!-- Some Copy
> -->
> 
>                         </copy>
> 
>                     </assign>
> 
>                     <invoke .. some invoke ../>
> 
>  
> 
>                 </sequence>
> 
>                 <sequence name="Sequence4">
> 
>                     <assign name="AssignCS2">
> 
>                         <copy>
> 
>                                                         <!-- Some Copy
> -->
> 
>                         </copy>
> 
>                     </assign>
> 
>                     <invoke .. some invoke ..>
> 
>                         <copy>
> 
>                                                        <!-- Some Copy
> -->
> 
>                         </copy>
> 
>                     </assign>
> 
>                     <invoke name=.. some invoke ../>
> 
>             
> 
>                 </sequence>
> 
>             </flow>                                
> 
> Thanks & Regards
> 
> Dhanush Gopinath
> 
>  
> 

-- 
Tammo van Lessen - http://www.taval.de

Reply via email to