Task locking fun fun fun....

David Weston weston at clockwork.ca
Wed Aug 18 15:14:34 EDT 2004


Mike, how about another dummy step in between 1 and 2 that just waits a bit ?
The parked docs wf does this sort of thing.
 
Dave
 
Quoting Michael Pokraka <workflow at quirky.me.uk>:
 
> Hi folks,
> I've a situation which occurs in a variety of flows (4.7/620):
>
> Step 1 is executed, user does something which triggers wait for event
> elsewhere in the flow.
> Step 2 is a custom method and uses Advance with Dialog.
> Step 2 kicks in before the wait step gets the event and locks the task
>
> The end result: a workflow in status COMPLETED or CANCELLED and one step in
> the middle somewhere in status STARTED.
>
> We've peppered the methods with lots of little WAIT statements, but I don't
> like it one bit and doesn't always help: In some flows it's the other way
> around, the task that raises the event takes too long to complete and
> remains active at the point in time the WF is cancelled/completed. Thus the
> user is returned to the inbox to find two identical tasks - one he just
> executed belonging to the now cancelled flow and one from the new restarted
> one.
>
> Oh, the orphaned task completes itself during the next error monitoring run
> within 20 min, but that's long enough to confuse people in between.
>
> Has anyone had any similar issues? Any suggestions?
>
> Cheers
> Mike
>
>
>
 


More information about the SAP-WUG mailing list