Agent Assignment on Forwarded Workflows

Joanne Johnson JoanneJohnson at jo-annstores.com
Mon Oct 2 11:34:36 EDT 2006


Thanks Alon and Mark,
 
The binding of _WI_ACTUAL_AGENT worked like a charm.
 
Joanne

>>> mark.pyc at gmail.com 9/30/2006 3:44 PM >>>

Depending on your release you may also be able to have 
&_PREDECESSOR_WI.LASTDIALOGAGENT.NAMEWITHLEADINGUS&

OSS note 903692 explains.

Have fun,
Mark

On 9/29/06, Alon Raskin <araskin at 3i-consulting.com> wrote:
Hi Joanne,
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.Alon Raskin e: araskin at 3i-consulting.comp: +1 207 409 4983 f:  +1 806 403-4983 
 

From: sap-wug-bounces at mit.edu [mailto: sap-wug-bounces at mit.edu] On Behalf Of Joanne Johnson
Sent: 29 September 2006 15:48
To: sap-wug at mit.edu
Subject: Agent Assignment on Forwarded Workflows

 Good Afternoon,  
I am fairly new to workflows and would like to know what others do in this situation.  
 
I have a small workflow that performs agent assignment using userid's.  In this workflow, the workflow is assigned to a clerical person (userid = A) to be worked.  It goes thru an approval process and depending on the decision, follows a path which executes a background task.  If the dollar amount > $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.
 
Here's my problem.  User A manually forwards their workflow using the Forward icon  to another user (userid = C) who is also a possible agent.  It now appears correctly in user C's inbox.  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.  So user C can't complete the workflow which defeats the purpose of forwarding.
 
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.  Is this the best solution?  Suggestions on how to do this?
 
As always, thanks for your help.
 
Joanne Johnson
Jo-Ann Stores, Inc.




_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061002/110de0b4/attachment.htm


More information about the SAP-WUG mailing list