<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Robert,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I don&#8217;t understand why it can&#8217;t be done with standard &#8220;non-abap&#8221; workflow &#8230; but you would have to have the second iteration of the user decision as its own
 step. Can you do that?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Step 1 &#8211; UD &#8211; goes to group using rule &#8211; bind the actual agent to a workflow container element ACTUAL_AGENT.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Step 2 (or 2 through m) &#8211; goes on the selected path for processing based on the decision in step 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Step 3 (or n) &#8211; UD (same task as step 1) &#8211; use the agent returned in step 1 .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">If &#8220;step 2&#8221; has multiple steps depending on the decision in step 1, you could use sub-workflows there and keep your main workflow very clean and simple.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hope this helps. Good luck with it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Margaret<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Robert van den Berg <br>
<b>Sent:</b> Wednesday, October 24, 2012 7:51 AM<br>
<b>To:</b> SAP Workflow Users' Group; SAP Workflow Users' Group<br>
<b>Subject:</b> Re: Agent assignment situation<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Hi Florin, Rick,<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">thanx for the replies. Too bad this can't be done on a standard non-abap way...<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">But the solution from Florin is a nice one.<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Thanx for the quick replies!<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Good to see that the WUG is still active..<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">kind regards,<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Robert<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">On Oct 24, 2012 13:32 &quot;Florin Wach&quot;
<a href="mailto:florin.wach@gmx.net">&lt;florin.wach@gmx.net&gt;</a> wrote:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Hi,<br>
yes, I do the same, but within the Rule resolution implementation I usually add a container-element ACTUAL_AGENT. With the workflow, I do the same, i.e. storing the _actual_agent of the recurring step into a separate container element ACTUAL_AGENT_OF_DECISION...
 (or something appropriate) and pass this to the rule.<br>
<br>
The rule looks at first into the rule container, checks for the actual_agent element, and if found, it uses this one to the assigned agents and ends the processing,
<br>
otherwise the rule proceeds normally and find the group or whatever needs to be done.
<br>
<br>
best wishes, <br>
Florin <br>
<br>
<br>
<br>
-------- Original-Nachricht -------- <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Datum: Wed, 24 Oct 2012 21:59:41 &#43;1100
<br>
Von: Rick Bakker <a href="mailto:rbakker@gmail.com">&lt;rbakker@gmail.com&gt;</a> <br>
An: &quot;SAP Workflow Users\' Group&quot; <a href="mailto:sap-wug@mit.edu">&lt;sap-wug@mit.edu&gt;</a>
<br>
Betreff: Re: Agent assignment situation <o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Hello,
<br>
<br>
I would use a container element Current_Agents for the agent and not <br>
use a default rule. <br>
Fill Current_Agents in a step or steps before the user decision. <br>
<br>
If a different container element, say Actual_Agent, is empty then have <br>
a step (which calls a task which calls a method that calls fm <br>
RH_GET_ACTORS which calls the rule) to fill Current_Agents, otherwise <br>
assign Actual_Agent to Current_agent. <br>
<br>
Actual_Agent is filled with the actual agent of the user decision step. <br>
<br>
regards <br>
Rick Bakker / hanabi technology <br>
<br>
On Wed, Oct 24, 2012 at 9:43 PM, Robert van den Berg <a href="mailto:wug@bergtop-ict.nl">
&lt;wug@bergtop-ict.nl&gt;</a> <br>
wrote: <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Hi all,
<br>
<br>
<br>
<br>
I have a situation where I have a step (user descision) in the workflow <br>
which goes to a group of people via a rule. <br>
<br>
Person A takes the task, chooses an option and the next step goes to a <br>
different department. When this task is done, the workflow returns to <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">the
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">user descision but I want this task only to be delivered at person A,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">not to
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">the whole group.
<br>
<br>
<br>
<br>
I tried to do this using the default rule on the task and on the step, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">using
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">a container element for the agent. So at first, the containerelement is
<br>
empty and I assumed that then the default rule would be used. <br>
<br>
But now I see that the workflow runs in error because the agent could <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">not be
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">determined.
<br>
<br>
<br>
<br>
How can I create this requirement? <br>
<br>
<br>
<br>
Kind regards, <br>
<br>
Robert <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">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">_______________________________________________
<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">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">_______________________________________________
<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">http://mailman.mit.edu/mailman/listinfo/sap-wug</a>
<o:p></o:p></span></p>
</blockquote>
</div>
</body>
</html>