Defining Task Groups for Ad Hoc Workflows 

Use

If you want to define a workflow for an application object of a work item ad hoc, an associated task group must be defined.

Only certain tasks that already exist are to be used as activities in the workflow definition. These tasks must all be based on the object type of the application object. You collect these tasks in a task group and assign this to the object type.

A workflow is to be defined ad hoc for a work item that has a notification of absence (object type FORMABSENC ) as application object. The following are tasks that deal with a notification of absence in your system:

Users who are allowed to create workflows ad hoc are only to use the tasks Process notification of absence and Display notification of absence. You therefore create a task group containing only the tasks Process notification of absence and Display notification of absence, and assign this task group to the object type FORMABSENC .

Procedure

To create a task group containing appropriate tasks for a particular object type, proceed as follows:

  1. Determine the tasks and workflows that refer to the object type in question. You can use the Business Workflow Explorer for this.
  2. Create a new task group. For further information, refer to Definition of a Task Group.
  3. Transfer all the tasks and workflows that the user who is to create workflows ad hoc is to be able to use in their workflows into the task group.
  4. Assign this task group to the object type. To do this, go to the Workflow Builder and choose Extras ® Ad hoc functions ® Link object and task group.

Result

When a workflow is created ad hoc, the task group appropriate to the object type appears in the tray My workflows and tasks in the Workflow Builder.