PO release - terminating event
Kjetil Kilhavn
KJETILK at statoil.com
Mon Mar 27 02:02:37 EST 2006
Why not just create a four-branched fork which requires two branches to complete? If it is only four parallell approval steps there is no need to make it more complex by introducing that fifth branch .... unless it is necessary to catch approvals made without using the work items.
--
Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mark Pyc
Sent: 26. mars 2006 23:47
To: SAP Workflow Users' Group
Subject: Re: PO release - terminating event
G'day Shai,
Use a fork step to split to five branches with only 1 needed to complete. You have four paralel branches for the Release steps and a fifth branch containing two sequential wait steps, both for your own event (ZWHATEVER). In each of the Release branches when the release is effected you raise you're own event (ZWHATEVER) and then pause/stop/hobble the branch (for example include a Wait for Event for something that can never happen e.g. Wait for Created on the PO you're already operating with. Since it's already created you'll never receive this event and the branch will pause).
When the first Release is effected you'll move through the first wait for event in the fifth branch.
When the 2nd Release is effected you'll move through the 2nd wait for event in the fifth branch. This will then complete the fifth branch and therefore the overall 5 way fork.
After that you can release the PO.
I hope this isn't too confusing. There are variations on a theme to be played with, but maybe this gives you some ideas.
Have fun,
Mark
On 3/26/06, Shai Eyal <shaie at team.co.il> wrote:
Hi all,
In my PO release procedure I have four release code in paralel: a, b, c,
d. If two of them release, then the PO is released. Then when the
Workflow is trigerred, I sent different tasks to each one of the four
(like standard workflow 20000075 does). When two releases I'd like to
terminate the tasks of the other two.
Any idea how ? I tried to use terminating event but haven't had much
success.
Thanks,
Shai E.
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060327/1905930e/attachment.htm
More information about the SAP-WUG
mailing list