Posted on Sep 19, 2012 at 11.25 AM - Kuala Lumpur, Malaysia
Some time there is requirement for the agent to be determined directly at runtime, either by the workflow initiator or by the agent of the predecessor step. There are 2 techniques which we can apply over here, one is through adhoc function and the other one is through wizard. In this document we are going to focus only on the latter part only.
1. First of all, we have to make sure that the responsible agent in the step is NOT assigned, as depicted below.
2. Make sure that the cursor is still pointing to the step and click on Extras->Adhoc Functions->Enable adhoc agent assignment.
3a. Once it's executed (there will a certain wizard will come out), it will create the workflow container element to store the adhoc agent and ...
3b. It will assign it to the responsible agent in the step that has been chosen in step 2.
As you can see it's pretty easy to have adhoc agent assignment done in the workflow. Now, how do we assign the agent at runtime? In this example, the workflow initiator can go to the outbox (transaction code SBWP) and choose 'Started workflows' and assign the agent through the standard functionality
as depicted below:
Life is beautiful! Let's make it meaningful and colorful!