'Detached' task processing
Mark Pyc
markpyc at hotmail.com
Tue Jan 25 06:40:56 EST 2005
Is it really necessary that the main WF complete ASAP? If you only need to
have the flow continue then obviously the notification items can be hanging
off in a parallel branch and the main WF logic will continue. The only issue
is that the whole WF won't complete until all notification items have been
opened and completed.
If you really need them as mini-WFs so the main flow can complete, I would
have thought a method that programmatically starts the task rather than
event based linkage would be easier. Less to define and largely you could
just pass the inbound method container straight to the FM triggering the new
task. May just need to fudge the move of the main object (self) into
_WI_Object_ID.
Even with multiple tasks the creation of a little config Z-table and
suitabley dynamic code should mean you only need the one method to handle
any and all of the tasks.
Any more info to indicate the trickeries of the problem?
From: Michael Pokraka <workflow at quirky.me.uk>
Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
To: SAP Workflow User Group <sap-wug at mit.edu>
Subject: 'Detached' task processing
Date: Tue, 25 Jan 2005 02:03:58 -0800 (PST)
Hi all,
I think the answer is a 'no go' but... I would like to execute a task and
have
the workflow continue before the task is complete.
The simple answer - raise a custom event & trigger the task seperately. Can
be
done, except there are a few different tasks with lots of container info
(HR)
and it's going to get a bit messy. Just wondering if there is another way or
interesting design ideas to kick off a bunch of flows/task and pass over
lots
of container stuff and have the calling flow continue. (In other words an
asynchronous start).
For what it's worth - these are a bunch of notifications that should by all
rights be sent as emails (which means the flow would resume/complete once
sent), but have to be workitems instead.
Cheers
Mike
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list