<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=725291913-12122006><FONT face=Arial 
color=#0000ff size=2>Hi Tom,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=725291913-12122006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=725291913-12122006><FONT face=Arial 
color=#0000ff size=2>I am not looking for the Agent who executed the workflow 
but for the one who will execute it and this I need before I go into this 
step.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><B><FONT face=Verdana size=1>Thanks &amp; Regards</FONT></B> <BR><B><FONT 
face=Verdana color=#000080 size=1>Saurabh Chaturvedi</FONT></B> <BR><FONT 
face=Verdana color=#808080 
size=1>-----------------------------------------------------------------------</FONT><BR><B><FONT 
face=Tahoma color=#808080 size=1>PTU - Applications (DEV SCM Technical 
Team)</FONT></B><BR><FONT face=Verdana color=#808080 size=1>[F4.237] RMZ NXT, 
SAP Labs India, Bangalore<BR>Phone:</FONT><B> <FONT face=Verdana color=#808080 
size=1>+91-80- 4013 5253</FONT></B> <BR><FONT face=Verdana size=1><A 
href="http://www.sap.com/">http://www.sap.com</A><BR></FONT><FONT face=Verdana 
color=#808080 
size=1>-----------------------------------------------------------------------</FONT> 
</P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Tom Peou<BR><B>Sent:</B> 
Tuesday, 12 December 2006 6:05 PM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> RE: Dynamically determining the agent for 
User Decision Step from theoutput of another step<BR></FONT><BR></DIV>
<DIV></DIV><SPAN class=gmail_quote></SPAN>Hi Saurabh,<BR><BR>If you want only 
the agent that "Executed" the Decision step (Actual Agent), you can determine 
this from the Task Element called "_WI_Actual_Agent". Then bind this Task 
Element to a Workflow Container of type WFSYST-ACT_AGENT (and call it 
Actual_Agent). Perform this binding from your Decision Step. T <BR><BR>his 
Workflow Container (Actual_Agent) now contins the user id of the agent that 
executed the Decision Step. You can then use "Actual_Agent" for tasks or work 
items following that decision step.<BR><BR>Hope that helps. 
<BR>Tom<BR><BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 12/12/06, <B class=gmail_sendername><A 
onclick="return top.js.OpenExtLink(window,event,this)" 
href="mailto:sap-wug-request@mit.edu" target=_blank>sap-wug-request@mit.edu 
</A></B>&lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
href="mailto:sap-wug-request@mit.edu" target=_blank>sap-wug-request@mit.edu 
</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">---------- 
  Forwarded message ----------<BR>From:&nbsp;"Chaturvedi, Saurabh" &lt; <A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:saurabh.chaturvedi@sap.com" 
  target=_blank>saurabh.chaturvedi@sap.com</A>&gt;<BR>To:&nbsp;"SAP Workflow 
  User Group" &lt;<A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:sap-wug@mit.edu" target=_blank> 
  sap-wug@mit.edu</A>&gt;<BR>Date:&nbsp;Tue, 12 Dec 2006 12:51:23 +0530 
  <BR>Subject:&nbsp;Dynamically determining the agent for User Decision Step 
  from the output of another step<BR>
  <DIV>
  <P><FONT face=Arial size=2>Hi All,</FONT> </P>
  <P><FONT face=Arial size=2>I am developing a workflow where I am determining 
  the agent who will execute the 'User Decision' step in another step of this 
  workflow. So I cannot hard code a user or use the workflow initiator. How can 
  assign the user determined within the workflow as an agent of the User 
  Decision step? </FONT></P><BR>
  <P><B><FONT face=Verdana size=1>Thanks &amp; Regards</FONT></B> <BR><B><FONT 
  face=Verdana color=#000080 size=1>Saurabh Chaturvedi</FONT></B> 
</P></DIV></BLOCKQUOTE></DIV></BODY></HTML>