Function documentationSpecifying Agents of Subsequent Steps Dynamically Locate this document in the navigation structure

 

The actual agent of the step Determine agents in a workflow can specify the recipients who are to receive the work item of the subsequent step Any activity in the same workflow. The step Any activity does not have to follow the step Determine agents directly.

You can only specify users as recipients if they are possible agents of the relevant task.

Note Note

Use ad hoc agent assignment only if the user who starts the workflow is to specify recipients at runtime.

End of the note.

Features

You can use the wizard Include "Choose agent" to extend the workflow definition. In this wizard you specify the task for which you want to select recipients. The wizard extends the workflow definition by adding two steps:

  • Activity Selection of agents for subsequent task

  • Activity that references the subsequent task you specify

Activity Selection of agents for subsequent task

The system enters the workflow initiator as responsible agent for this task.

The actual agent of this work item selects the recipients from the possible agents of the subsequent task. A list of the possible agents of the subsequent task is displayed if it is not a general task. If the subsequent task is a general task, the actual agent can select the recipients from all users of the system.

The recipients are transported with a binding into a multiline workflow container element created by the system.

Activity that references the subsequent task you specify

The responsible agents of the subsequent task are read by the system from container element created.

The graphic below illustrates the extension of the workflow definition and the bindings created.

This graphic is explained in the accompanying text.

Activities

Execute the wizard Include "Choose agent". You have to edit the steps created if:

  • The recipients are not to be selected by the workflow initiator

  • Deadlines are to be defined for the activities

  • Other outcomes are to trigger a response in the workflow

  • The work item display is to be formatted individually

You need your own task for the activity Selection of agents for subsequent task if, for example, you want to enter your own texts for the task.

For more information, see Copying a Selection Task.