Responsibility Rules

Specifying responsibilities is optional. The rules used for establishing recipients are described below.

Responsibility for processing a step in a workflow

The recipients are established as follows:

  1. Evaluation of responsible agents in the step definition.
  2. If no responsible agents are added in the step definition, a rule added in the task definition is evaluated for agent determination.
  3. Evaluation of the possible agents of the task.

All responsible agents that are also possible agents become recipients of the work item. If there is no responsible agent or possible agent, nobody receives the work item.

If the task is defined as a general task, the possible agents are all users of the system. SAP therefore recommends that you define responsible agents for such tasks.

Responsibility rules for missed deadline notification

Notification when deadlines missed for step in workflow

Recipient determination takes place in the following order until a recipient is found:

  1. First, recipients are looked for in accordance with the step definition.
  2. The corresponding rule for agent determination of the missed deadline for the relevant task is evaluated.
  3. The workflow system administrator is used as the recipient.

Notification when deadlines missed for subworkflow

The recipients are established as follows:

  1. First, recipients are looked for in accordance with the step definition.
  2. The recipient for the missed deadline of the subworkflow, who is defined in the basic data, is evaluated.
  3. The workflow system administrator is used as the recipient.

Responsibility rules for completion notification

Notification upon completion of step in workflow

The recipients are established as follows:

  1. First, recipients are looked for in accordance with the step definition.
  2. The corresponding rule for agent determination of the relevant task is evaluated.

Notification upon completion of subworkflow

The recipients are established as follows:

  1. First, recipients are looked for in accordance with the step definition.
  2. The specification in the basic data of the subworkflow on the tab page Notification is evaluated.

Notification upon completion of workflow

The recipient is established in accordance with the entries in the basic data of the workflow.

Behavior in the event of errors resolving responsibilities at runtime

The following occurs if the system cannot establish any users at runtime:

Problem

Behavior at runtime

The responsibility was defined using a rule. The indicator Cancel if rule resolution has no result is set in the rule definition: The rule resolution is terminated with an exception.

The workflow is forced into status error and the workflow system administrator is informed.

The exception no responsible party established occurred in the resolution of the responsibility entry.

The system tries to establish a user in accordance with the rules above.

Another exception occurred in the resolution of the responsibility entry.

The workflow is forced into status error and the workflow system administrator is informed.

The responsible agents determined are not possible agents of the task.

The work item remains in the status ready and does not receive a recipient. You can find the work item by using the function work items without agents and assign it a new recipient.