Dynamically determining the agent for User Decision Step fromthe output of another step

Flavio Oliveira oliveiraflavio at hotmail.com
Tue Dec 12 05:49:43 EST 2006


Saurabh:

Always reply to the list, so everybody can see the posts!!

Regarding your question, you have to create a new Workflow container element and populate it with the result of your step (bind from the task to workflow). Create it as a table (multi-line) and reference of the WFSYST-INITIATOR dictionary structure.

On the User-Decision, put your new element on the Agents (the same place where you put the WF_INITIATOR. By doing this, the decision step will be sent to all agents defined on the new container element.

I hope it's more clear now.

Best regards,
Flávio.

----------------------------------------
> Subject: RE: Dynamically determining the agent for User Decision Step fromthe	output of another step
> Date: Tue, 12 Dec 2006 15:53:43 +0530
> From: saurabh.chaturvedi at sap.com
> To: oliveiraflavio at hotmail.com
> 
>  
> Hi Flavio,
> 
> Thanks a lot for your reply! I need some more details for the 2nd option
> described by you. Will I have to have a container structure parallel to the
> _Rule_Result structure which is part of the User Decision step container and
> then both of these should be mapped?
> 
> Thanks & Regards
> Saurabh Chaturvedi
> 
> -----Original Message-----
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
> Flavio Oliveira
> Sent: Tuesday, 12 December 2006 3:20 PM
> To: SAP Workflow Users' Group
> Subject: RE: Dynamically determining the agent for User Decision Step
> fromthe output of another step
> 
> 
> Saurabh:
> 
> You have two options:
> 1- Put the logic you've created to find the agents inside a Role Resolution
> and use this role on the user decision.
> 2- Put the result of the workflow step (that finds the agents) on a
> container element and use this container element on the user decision.
> 
> Regards,
> Flávio.
> 
> 
> ________________________________
> > Subject: Dynamically determining the agent for User Decision Step from the
> output of another step
> > Date: Tue, 12 Dec 2006 12:51:23 +0530
> > From: saurabh.chaturvedi at sap.com
> > To: sap-wug at mit.edu
> > 
> > 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
> 
> _________________________________________________________________
> Get the new Windows Live Messenger!
> http://get.live.com/messenger/overview
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug

_________________________________________________________________
Windows Live Spaces is here! It’s easy to create your own personal Web site.
http://spaces.live.com/signup.aspx



More information about the SAP-WUG mailing list