Depending on your release you may also be able to have <br>&amp;_PREDECESSOR_WI.LASTDIALOGAGENT.NAMEWITHLEADINGUS&amp;<br><br>OSS note 903692 explains.<br><br>Have fun,<br>Mark<br><br><div><span class="gmail_quote">On 9/29/06, 
<b class="gmail_sendername">Alon Raskin</b> &lt;<a href="mailto:araskin@3i-consulting.com">araskin@3i-consulting.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">












<div link="blue" vlink="purple" style="margin: 3pt 3pt 0.75pt;" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi Joanne,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What you want to do is get the actual
agent which executed the work item so that the next workflow item is routed to
them rather then agent A. Every dialog task has an exporting parameter called _WI_ACTUAL_AGENT.
Bind this value into an element in your container and then pass that into the
agent assignment of the next step.</span></font></p>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><strong><b><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Alon Raskin</span></font></b></strong><font color="navy"><span style="color: navy;">
</span></font></p>

<p style="margin: 0cm 0cm 0.0001pt;"><strong><b><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">e: </span></font></b></strong><font color="navy"><span style="color: navy;"><a href="mailto:araskin@3i-consulting.com" title="mailto:araskin@3i-consulting.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<strong><b><font color="navy" face="Times New Roman"><span style="color: navy; text-decoration: none;">araskin@3i-consulting.com</span></font></b></strong></a></span></font></p>

<p style="margin: 0cm 0cm 0.0001pt;"><strong><b><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">p: +1 207 409 4983</span></font></b></strong><font color="navy"><span style="color: navy;">
</span></font></p>

<p style="margin: 0cm 0cm 0.0001pt;"><strong><b><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">f:&nbsp; +1 806 403-4983</span></font></b></strong><font color="navy"><span style="color: navy;">
 </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">&nbsp;</span></font></p>

</div>

<div>

<div style="margin: 0cm 0cm 0.0001pt; text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p style="margin: 0cm 0cm 0.0001pt;"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">

<a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sap-wug-bounces@mit.edu</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Joanne Johnson<br>
<b><span style="font-weight: bold;">Sent:</span></b> 29 September 2006 15:48<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:sap-wug@mit.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sap-wug@mit.edu</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Agent Assignment on
Forwarded Workflows</span></font></p>

</div><div><span class="e" id="q_10dfb273cc1d1ff3_1">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">Good
Afternoon, </span></font></p>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">I
am fairly new to workflows and would like to know what others do in this
situation.&nbsp; </span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">I
have a small workflow that performs agent assignment using userid's.&nbsp; In
this workflow, the workflow is assigned to a clerical person (userid = A) to be
worked.&nbsp; It goes thru an approval process and depending on the decision,
follows a path which executes a background task.&nbsp; If the dollar amount
&gt; $500, a second approval is needed by the supervisor (userid = B) and then
it goes down the path of background tasks depending on the decision.</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">Here's
my problem.&nbsp;&nbsp;User A manually forwards their workflow using the
Forward icon&nbsp;&nbsp;to another user (userid = C) who is also a possible
agent.&nbsp; It now appears correctly in user C's inbox.&nbsp; However, when
user C works the wf, since the next workitem in the flow is assigned to User A,
it goes back into User A's Inbox.&nbsp; So user C can't complete the workflow
which defeats the purpose of forwarding.</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">It
seems to me that I want to capture the userid from the workflow header and pass
it in the container and then on all subsequent tasks, replace the assigned
agent with the container agent.&nbsp; Is this the best solution?&nbsp;
Suggestions on how to do this?</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">As
always, thanks for your help.</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">&nbsp;</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">Joanne
Johnson</span></font></p>

</div>

<div>

<p style="margin: 0cm 0cm 0.0001pt;"><font face="Microsoft Sans Serif" size="2"><span style="font-size: 10pt;">Jo-Ann
Stores, Inc.</span></font></p>

</div>

</span></div></div>

</div>



<br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote></div><br>