Professional Documents
Culture Documents
Summary
This article is about the Ad hoc Agent Assignment for workflow. The workflow initiator assigns a recipient to the steps in the workflow at runtime. Author(s): R. Sathis Kumar. Company: Quintegra Solutions Ltd. Created on: 10 December 2007
Author Bio
Sathis Kumar R is an ABAP Consultant. He is working as a SAP Technical Consultant for Quintegra Solutions Ltd, Chennai, India.
Table of Contents
Create a New Workflow ................................................................................................................................ 3 Create the Task for Leave Form ................................................................................................................... 4 Set the Agent Assignment as General Task ................................................................................................. 6 Enable the Ad Hoc Agent Assignment.......................................................................................................... 8 Test the Workflow ....................................................................................................................................... 11 Disclaimer and Liability Notice .................................................................................................................... 13
Now save the task and go back .Now the binding between the task and the workflow was shown like.
Click ok (Tick mark) button. Now the task complete option was active.
You don't fill any agent for this task. You leave it as empty as shown in the figure.
SAP DEVELOPER NETWORK | sdn.sap.com 2007 SAP AG BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 5
Choose the General Task and click the Transfer button. Now it shown like
You go back to the workflow builder now the Agent Assignment was active.
Now it shows your Task Number and Name and check whether the "insert the workflow constructor and workflow destructor" will be selected or not. If not means now you select that option.
Now the wizard was completed click the Complete Button. You check the task it will automatically filled the agent name as: &Agent_0001.Agents& Now you can Save the Workflow and activate it.
You enter the name of the user who wants to do this task . In my Example I entered Developer2. And then click the Check Agent Button. It automatically creates the random key for that user and it will be assigned to the Agent_001.
Now again click the execute Button. Now the Leave Form will be waiting for the user to fill.