Dynamically determining the agent for User Decision Step from theoutput of another step
Chaturvedi, Saurabh
saurabh.chaturvedi at sap.com
Tue Dec 12 08:20:42 EST 2006
Hi Tom,
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.
Thanks & Regards
Saurabh Chaturvedi
-----------------------------------------------------------------------
PTU - Applications (DEV SCM Technical Team)
[F4.237] RMZ NXT, SAP Labs India, Bangalore
Phone: +91-80- 4013 5253
http://www.sap.com <http://www.sap.com/>
-----------------------------------------------------------------------
_____
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Tom Peou
Sent: Tuesday, 12 December 2006 6:05 PM
To: sap-wug at mit.edu
Subject: RE: Dynamically determining the agent for User Decision Step from
theoutput of another step
Hi Saurabh,
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
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.
Hope that helps.
Tom
On 12/12/06, sap-wug-request at mit.edu <mailto:sap-wug-request at mit.edu>
<sap-wug-request at mit.edu <mailto:sap-wug-request at mit.edu> > wrote:
---------- Forwarded message ----------
From: "Chaturvedi, Saurabh" < saurabh.chaturvedi at sap.com>
To: "SAP Workflow User Group" < <mailto:sap-wug at mit.edu> sap-wug at mit.edu>
Date: Tue, 12 Dec 2006 12:51:23 +0530
Subject: Dynamically determining the agent for User Decision Step from the
output of another step
Hi All,
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?
Thanks & Regards
Saurabh Chaturvedi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/89dda956/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1811 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20061212/89dda956/attachment.bin
More information about the SAP-WUG
mailing list