<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Microsoft Sans Serif">
<DIV>Thanks Alon and Mark,</DIV>
<DIV>&nbsp;</DIV>
<DIV>The binding of _WI_ACTUAL_AGENT worked like a charm.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Joanne<BR><BR>&gt;&gt;&gt; mark.pyc@gmail.com 9/30/2006 3:44 PM &gt;&gt;&gt;<BR></DIV>
<DIV style="COLOR: #000000">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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV lang=EN-US style="MARGIN: 3pt 3pt 0.75pt" vlink="purple" link="blue">
<DIV>
<P><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi Joanne,</SPAN></FONT></P>
<P><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 0pt"><STRONG><B><FONT face="Times New Roman" color=navy 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 0pt"><STRONG><B><FONT face="Times New Roman" color=navy size=3><SPAN style="FONT-SIZE: 12pt; COLOR: navy">e: </SPAN></FONT></B></STRONG><FONT color=navy><SPAN style="COLOR: navy"><A title=mailto:araskin@3i-consulting.com onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:araskin@3i-consulting.com" target=_blank><STRONG><B><FONT face="Times New Roman" color=navy><SPAN style="COLOR: navy; TEXT-DECORATION: none">araskin@3i-consulting.com</SPAN></FONT></B></STRONG></A></SPAN></FONT></P>
<P style="MARGIN: 0cm 0cm 0pt"><STRONG><B><FONT face="Times New Roman" color=navy 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 0pt"><STRONG><B><FONT face="Times New Roman" color=navy 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 face="Times New Roman" color=navy size=3><SPAN style="FONT-SIZE: 12pt; COLOR: navy"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<DIV style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P style="MARGIN: 0cm 0cm 0pt"><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target=_blank>sap-wug-bounces@mit.edu</A> [mailto:<A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target=_blank> 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 onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug@mit.edu" target=_blank>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"></SPAN></FONT>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt">Good Afternoon, </SPAN></FONT></P>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt"></SPAN></FONT>&nbsp;</P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><FONT face="Microsoft Sans Serif" size=2><SPAN style="FONT-SIZE: 10pt">Joanne Johnson</SPAN></FONT></P></DIV>
<DIV>
<P style="MARGIN: 0cm 0cm 0pt"><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></DIV></BODY></HTML>