Definition of Task

Use

You use a Task to define an activity that can be executed within a workflow definition or independently (as a single step). This activity can be an SAP System transaction.

Task as a single step

It is not always necessary for a complex workflow containing several steps to be executed to process a business task. Often a single step in the form of a standard task can perform the function required.

If dialog with a user is required to execute the task, all possible agents become recipients of the relevant dialog work item and receive it in their Workflow Inbox. You can limit the number of recipients by entering a rule for agent determination on the Default Rules Tab Page. When one of the recipients executes the work item, the relevant activity is executed and the work item can no longer be executed by the remaining recipients.

Task as part of a workflow definition

A task can be part of a workflow definition as a step of the type activity. In the workflow definition, additional information can also be specified regarding responsibilities and deadlines.

If dialog with a user is required to execute the task, all recipients receive a dialog work item in their Workflow Inbox. When one of the recipients executes the work item, the relevant activity is executed and the work item can no longer be executed by the remaining recipients.

Integration

Activity of task

You define the activity of the task using a method of an object type. SAP Business Workflow supports various different object type categories ( Maintenance of Reference to Object Method).

Possible agents of Tasks

The possible agents of a task are specified in the relevant definition. These possible agents can be defined with reference to the organizational plan of the enterprise, with the consequence that the same task is offered for execution to several users, who have the same authorizations from an organizational perspective, in their Business Workplaces.

If the task is used within a workflow, you can define responsible agents in the workflow definition. The recipients of the work item are all users who are both responsible agents and possible agents and were not explicitly excluded from processing.

Prerequisites

The object type method and the object type are defined, tested, and generated.

You do not have to have defined the object type and its methods yourself. You can also use methods supplied as standard.

Features

The definition of tasks is spread across several tab pages. You can make all the mandatory specifications on the tab page Basic data. The specifications on the other tab pages are optional.

Activities

You should adhere to the following sequence when defining tasks (and analyzing existing tasks):

What?

Where?

Maintain names, work item text, object type, and method

Tab page Basic data

Maintain agent assignment

Start of the navigation pathAdditional Data Next navigation step Agent Assignment Next navigation step MaintainEnd of the navigation path

(not relevant for business object service classes)

Maintain elements in task container

Container

Maintain triggering events

Tab page Trigger Events

Maintain terminating events

Tab page Terminating events

Maintain default rules

Tab page Default rules

Maintaining Description and Notification Texts

Tab page Description

Maintaining Additional Data

Start of the navigation pathAdditional data Next navigation step Selection criteria... End of the navigation path

Start of the navigation pathAdditional Data Next navigation step Classification Next navigation step ChangeEnd of the navigation path

Maintain SAPphone properties

Tab page SAPphone