Hi Jeff,<div><br></div><div>I have also implemented similar to your requirement.</div><div>As said by Joe, use a fork with 2 parallel branches at each decision step with a terminating event, which you can raise at another branches if action is Reject.</div>
<div>This will work fine..</div><div><br></div><div>Regards</div><div>Mehar</div><div><br><div class="gmail_quote">On Mon, Oct 25, 2010 at 6:17 PM,  <span dir="ltr">&lt;<a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send SAP-WUG mailing list submissions to<br>
        <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:sap-wug-owner@mit.edu">sap-wug-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of SAP-WUG digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Dynamic Parallel Proc User Decision (<a href="mailto:Joe_Toledo@capgroup.com">Joe_Toledo@capgroup.com</a>)<br>
   2. Re: &#39;Substitute for&#39; info in SAP outbox (yegorm)<br>
   3. Re: Dynamic Parallel Proc User Decision (Jeffrey A. Rappaport)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 24 Oct 2010 16:09:55 -0700<br>
From: <a href="mailto:Joe_Toledo@capgroup.com">Joe_Toledo@capgroup.com</a><br>
Subject: Re: Dynamic Parallel Proc User Decision<br>
To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:OF36F816FF.35C5B220-ON882577C6.007CD4D1-882577C6.007F4047@capgroup.com">OF36F816FF.35C5B220-ON882577C6.007CD4D1-882577C6.007F4047@capgroup.com</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi there Jeff,<br>
<br>
I&#39;ve built that exact scenario here, in the sense that I created a<br>
workflow with Dynamic Parallel Process.  In our scenario, when the<br>
workflow starts it can have any number of approvers, and each of one of<br>
those must approve in order for the workflow to continue (in our case,<br>
return to the initiator)  Each dynamic branch calls an &quot;approval<br>
sub-workflow&quot; with a simple decision step with approve/reject.   We also<br>
needed the workflow to &quot;return&quot; to the initiator if ANY of the users<br>
rejected their work item, and remove all the pending approval work items<br>
from the respective approver&#39;s inbox.<br>
<br>
This is how I was able to fulfill that requirement:<br>
<br>
Each sub-workflow has a &quot;2-branch fork&quot; that requires only one to be<br>
completed in order for it to continue.  One branch is for the decision<br>
step (approve/reject) and the other branch a &quot;wait for event&quot; (in our case<br>
a &quot;Rejected&quot; event)<br>
If a user selects the &quot;reject&quot; in their decision task, I set a flag<br>
(container element) and at the end of the fork, I check the flag, and if<br>
set,  I raise the &quot;Rejected&quot; event which will terminate all the other<br>
&quot;approval sub-workflows&quot;.<br>
<br>
I&#39;m sure there might be other ways of handling this requirement, but his<br>
work fine for us.<br>
<br>
I hope this helps.<br>
<br>
Regards,<br>
<br>
Joe Toledo | The Capital Group Companies<br>
Location: IRV | Extension: 55417 | Outside: 949-975-5417<br>
E-mail: <a href="mailto:joat@capgroup.com">joat@capgroup.com</a><br>
[ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]<br>
<br>
<br>
<br>
<br>
From:<br>
&quot;Jeffrey A. Rappaport&quot; &lt;<a href="mailto:Jeff@business-workflow.com">Jeff@business-workflow.com</a>&gt;<br>
To:<br>
&quot;SWUG&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Date:<br>
10/21/2010 02:58 PM<br>
Subject:<br>
Dynamic Parallel Proc User Decision<br>
Sent by:<br>
<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a><br>
<br>
<br>
<br>
Hi All,<br>
<br>
  (SAPKB70020) Feel like a rookie here asking this quesiton but<br>
obviously I&#39;m missing something because I&#39;ve created numerous of<br>
these before. I have a Dynamic Parallel Process going off a User<br>
Decision step, the table element of Users is configured correctly<br>
in &quot;Misc&quot; tab &amp; created an &#39;End Condition&#39; below it that if<br>
&amp;zResult&amp; = 0002 (rejected) end approval process, but if I Reject<br>
the 1st User the items remain in the other&#39;s inboxes &amp; don&#39;t get<br>
automatically removed. The Result is getting passed correctly to<br>
the WF cont. Am I missing something in this new version??<br>
<br>
Thanx,<br>
<br>
Jeff Rappaport<br>
<a href="http://www.Business-Workflow.com" target="_blank">www.Business-Workflow.com</a><br>
<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20101024/888f8aa4/attachment-0001.htm" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20101024/888f8aa4/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 25 Oct 2010 14:27:13 +0400<br>
From: yegorm &lt;<a href="mailto:yegorma@gmail.com">yegorma@gmail.com</a>&gt;<br>
Subject: Re: &#39;Substitute for&#39; info in SAP outbox<br>
To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTikCjQFnzZ-buLJQARA8c_uR9fPHjDQEBek42ta0@mail.gmail.com">AANLkTikCjQFnzZ-buLJQARA8c_uR9fPHjDQEBek42ta0@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
AFAIK, after the workitem is processed, only the actual agent is known, and<br>
not whom he was substituting.<br>
<br>
<br>
<br>
On Wed, Oct 20, 2010 at 1:56 AM, Sharath K &lt;<a href="mailto:ksharath77@yahoo.com">ksharath77@yahoo.com</a>&gt; wrote:<br>
<br>
&gt; Hi All,  I dont see the values in &#39;substitute for&#39; column in SAP outbox.<br>
&gt; This information is available when the work item is in inbox.<br>
&gt;<br>
&gt; My user is substitute of several managers and want to report how many items<br>
&gt; he worked for each manager at the end of the day.<br>
&gt;<br>
&gt; is there way to populate this information ( or ) any standard report he can<br>
&gt; run to generate this list.<br>
&gt;<br>
&gt; Client is on SAP 4.7<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Egor Malov<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20101025/93040f67/attachment-0001.htm" target="_blank">http://mailman.mit.edu/pipermail/sap-wug/attachments/20101025/93040f67/attachment-0001.htm</a><br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 25 Oct 2010 11:30:07 -0400<br>
From: &quot;Jeffrey A. Rappaport&quot; &lt;<a href="mailto:Jeff@business-workflow.com">Jeff@business-workflow.com</a>&gt;<br>
Subject: Re: Dynamic Parallel Proc User Decision<br>
To: &quot;SAP Workflow Users&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:dfb02d78d89100323345e06f073e1084.squirrel@login.bluehost.com">dfb02d78d89100323345e06f073e1084.squirrel@login.bluehost.com</a>&gt;<br>
Content-Type: text/plain;charset=iso-8859-1<br>
<br>
Hi Joe,<br>
<br>
   Thanx for your reply. I waited for over the weekend to see if<br>
anyone had an answer but since one didn&#39;t come I resorted to an<br>
old method. My Decision step is a separate sub-WF of the main WF<br>
that creates all the n-legs within its self so I just placed a<br>
&#39;Complete WF&#39; Process step down the Reject branch which will end<br>
the sub-WF &amp; return the Result back to the Main WF &amp; continue it<br>
on, and it works like a charm. No Events or multiple Sub-WFs<br>
needed. You could probably do the same within a Block, but<br>
haven&#39;t tried it yet. But I&#39;ll still wonder what I was wrong with<br>
the original design since I&#39;ve done it before. Thanx again.<br>
<br>
Jeff Rappaport<br>
<a href="http://www.Business-Workflow.com" target="_blank">www.Business-Workflow.com</a><br>
<br>
&gt; Hi there Jeff,<br>
&gt;<br>
&gt; I&#39;ve built that exact scenario here, in the sense that I created a<br>
&gt; workflow with Dynamic Parallel Process.  In our scenario, when the<br>
&gt; workflow starts it can have any number of approvers, and each of one<br>
&gt; of<br>
&gt; those must approve in order for the workflow to continue (in our<br>
&gt; case,<br>
&gt; return to the initiator)  Each dynamic branch calls an &quot;approval<br>
&gt; sub-workflow&quot; with a simple decision step with approve/reject.   We<br>
&gt; also<br>
&gt; needed the workflow to &quot;return&quot; to the initiator if ANY of the users<br>
&gt; rejected their work item, and remove all the pending approval work<br>
&gt; items<br>
&gt; from the respective approver&#39;s inbox.<br>
&gt;<br>
&gt; This is how I was able to fulfill that requirement:<br>
&gt;<br>
&gt; Each sub-workflow has a &quot;2-branch fork&quot; that requires only one to be<br>
&gt; completed in order for it to continue.  One branch is for the<br>
&gt; decision<br>
&gt; step (approve/reject) and the other branch a &quot;wait for event&quot; (in<br>
&gt; our case<br>
&gt; a &quot;Rejected&quot; event)<br>
&gt; If a user selects the &quot;reject&quot; in their decision task, I set a flag<br>
&gt; (container element) and at the end of the fork, I check the flag,<br>
&gt; and if<br>
&gt; set,  I raise the &quot;Rejected&quot; event which will terminate all the<br>
&gt; other<br>
&gt; &quot;approval sub-workflows&quot;.<br>
&gt;<br>
&gt; I&#39;m sure there might be other ways of handling this requirement, but<br>
&gt; his<br>
&gt; work fine for us.<br>
&gt;<br>
&gt; I hope this helps.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Joe Toledo | The Capital Group Companies<br>
&gt; Location: IRV | Extension: 55417 | Outside: 949-975-5417<br>
&gt; E-mail: <a href="mailto:joat@capgroup.com">joat@capgroup.com</a><br>
&gt; [ Mailing: 15260 Valley Oak. IRV-M-3E Irvine, CA 92618 USA ]<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From:<br>
&gt; &quot;Jeffrey A. Rappaport&quot; &lt;<a href="mailto:Jeff@business-workflow.com">Jeff@business-workflow.com</a>&gt;<br>
&gt; To:<br>
&gt; &quot;SWUG&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;<br>
&gt; Date:<br>
&gt; 10/21/2010 02:58 PM<br>
&gt; Subject:<br>
&gt; Dynamic Parallel Proc User Decision<br>
&gt; Sent by:<br>
&gt; <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt;   (SAPKB70020) Feel like a rookie here asking this quesiton but<br>
&gt; obviously I&#39;m missing something because I&#39;ve created numerous of<br>
&gt; these before. I have a Dynamic Parallel Process going off a User<br>
&gt; Decision step, the table element of Users is configured correctly<br>
&gt; in &quot;Misc&quot; tab &amp; created an &#39;End Condition&#39; below it that if<br>
&gt; &amp;zResult&amp; = 0002 (rejected) end approval process, but if I Reject<br>
&gt; the 1st User the items remain in the other&#39;s inboxes &amp; don&#39;t get<br>
&gt; automatically removed. The Result is getting passed correctly to<br>
&gt; the WF cont. Am I missing something in this new version??<br>
&gt;<br>
&gt; Thanx,<br>
&gt;<br>
&gt; Jeff Rappaport<br>
&gt; <a href="http://www.Business-Workflow.com" target="_blank">www.Business-Workflow.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
<br>
End of SAP-WUG Digest, Vol 71, Issue 33<br>
***************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks &amp; Regards<br><br>Mehar Lakshmi<br>
</div>