Dynamic Parallel Proc User Decision
Joe_Toledo@capgroup.com
Joe_Toledo at capgroup.com
Sun Oct 24 19:09:55 EDT 2010
Hi there Jeff,
I've built that exact scenario here, in the sense that I created a
workflow with Dynamic Parallel Process. In our scenario, when the
workflow starts it can have any number of approvers, and each of one of
those must approve in order for the workflow to continue (in our case,
return to the initiator) Each dynamic branch calls an "approval
sub-workflow" with a simple decision step with approve/reject. We also
needed the workflow to "return" to the initiator if ANY of the users
rejected their work item, and remove all the pending approval work items
from the respective approver's inbox.
This is how I was able to fulfill that requirement:
Each sub-workflow has a "2-branch fork" that requires only one to be
completed in order for it to continue. One branch is for the decision
step (approve/reject) and the other branch a "wait for event" (in our case
a "Rejected" event)
If a user selects the "reject" in their decision task, I set a flag
(container element) and at the end of the fork, I check the flag, and if
set, I raise the "Rejected" event which will terminate all the other
"approval sub-workflows".
I'm sure there might be other ways of handling this requirement, but his
work fine for us.
I hope this helps.
Regards,
Joe Toledo | The Capital Group Companies
Location: IRV | Extension: 55417 | Outside: 949-975-5417
E-mail: joat at capgroup.com
[ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]
From:
"Jeffrey A. Rappaport" <Jeff at business-workflow.com>
To:
"SWUG" <sap-wug at mit.edu>
Date:
10/21/2010 02:58 PM
Subject:
Dynamic Parallel Proc User Decision
Sent by:
sap-wug-bounces at mit.edu
Hi All,
(SAPKB70020) Feel like a rookie here asking this quesiton but
obviously I'm missing something because I've created numerous of
these before. I have a Dynamic Parallel Process going off a User
Decision step, the table element of Users is configured correctly
in "Misc" tab & created an 'End Condition' below it that if
&zResult& = 0002 (rejected) end approval process, but if I Reject
the 1st User the items remain in the other's inboxes & don't get
automatically removed. The Result is getting passed correctly to
the WF cont. Am I missing something in this new version??
Thanx,
Jeff Rappaport
www.Business-Workflow.com
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20101024/888f8aa4/attachment.htm
More information about the SAP-WUG
mailing list