Workflow WAIT FOR EVENTstep

Phillips, Tim Tim.Phillips at ser.com
Tue Jan 21 12:43:14 EST 2003


Hi Hans,
 
Just some random thoughts:
 
1) Just check that you've configured your fork correctly (I'm thinking in
terms of end conditions/number of necessary branches)
2) Check that the object key matches the container element you've configured
in your wait step - are you sure the values are going to match?
 
If you're still stumped, I'd look into debugging the SWE_EVENT_CREATE code
to see why it's not picking up on your wait item.
 
Regards,
 
Tim
 
-----Original Message-----
From: Hans Brilleman [mailto:Hans.Brilleman at capetown.gov.za]
Sent: 21 January 2003 17:11
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Workflow WAIT FOR EVENTstep
 
 
Hi Sergey,
 
Sorry, maybe I did not explain it clearly - I am doing the parallel
processing with the wait step in one branch and the delay in the other -
so there is no delay on the start of the  workflow, but there is a delay
in the step which is parallel to the WAIT FOR EVENT.
 
If I look at the 'Display instance link' in the workflow log for the
wait step, and compare it with the display of the triggered event in the
event trace log it seems to me to look as if both correspond, but for
some or other reason the WAIT FOR EVENT does not see it the way I do
manually....
 
Please let me know if you have any ideas regarding this as I have a
deadline of tomorrow for the completion of this workflow and this has
got me baffled.
 
Much appreciated.
 
Many thanks,
 
Hans.
 
>>> Sergey.Breslavets at anheuser-busch.com 01/21/03 06:49pm >>>
Hi Hans,
 
if i understand your scenario right, your workflow start is deterred by
three
minutes, and during this time your application raises another event for
which
you have WAIT_STEP defined....
 
if this is the case, then your workflow probably is not started yet
when you
trigger another event...
Because of the delay workflow manager did not process your workflow
further yet
and did not create a corresponding entry for the Wait-Step in the
instance
linkage table. And, hence, no receivers exist yet when your application
raises
this event.
 
To work around this, use parallel processing with wait-step in one
branch, and
delay step in another.
 
Regards,
Sergey
 
-----Original Message-----
From: Hans Brilleman [mailto:Hans.Brilleman at capetown.gov.za]
Sent: Tuesday, January 21, 2003 6:33 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Workflow WAIT FOR EVENTstep
 
 
Hi,
 
my workflow has a delay state of say 3 minutes. At the same time I
have
a branch with a WAIT FOR EVENT step. Within the 3 minute wait period
stage, I manually execute a transaction that triggers the event being
listened for in the WAIT FOR EVENT. This should then trigger the next
step after the WAIT FOR EVENT step. for some or other reason it does
not
happen.
 
Does anybody have any idea why the WAIT FOR EVENT step does not
register the event being triggered?
 
Many thanks,
 
Hans Brilleman.
 


More information about the SAP-WUG mailing list