Show TOC

Defining Potential OwnersLocate this document in the navigation structure

Use

Potential owners are the processors of the tasks in the process model. A potential owner becomes the actual owner of the task when he or she starts processing a task. You define potential owners as follows:

  • Potential owners for a single task

  • Potential owners for an individual human activity

  • Potential owners for a lane

When you define potential owners, the following override semantics apply: Lane → overrides → Human Activity → overrides → Task. For more information about role overrides, see Defining Task Owners.

Prerequisites
  • You have opened the Process Development perspective in the SAP NetWeaver Developer Studio and have expanded your project in the Project Explorer view.

  • You have assigned a task to the human activity in your process model. More information: Modeling Human Activities .

  • You have configured the AS Java in the Developer Studio to be able to search for users in the User Management Engine (UME). For more information, see Configuring the Application Server in the Developer Studio .

    You can refer to SAP Note 1445197 Information published on SAP site for more information about enabling secure communication with the AS Java.

Procedure

Defining Potential Owners for a Single Task

  1. Expand Process Modeling , then expand Tasks .

  2. In the context menu of a task, choose Open .

  3. Under Potential Owners on the Roles tab page, define potential owners by one of the following options:

    • Select the Choose one or more UME principals radio button to search potential owners from a list.

      1. Choose the Choose... pushbutton.

      2. In the dialog that appears, choose a principal type from the dropdown menu and enter a principal name. Choose the Search pushbutton.

      3. Select a principal from the Search Results field and choose the Add-> pushbutton to add the principal to the Principals to Select field.

        Note

        To add all principals listed in the Search Results field to the Principals to Select field, choose the Add All-> pushbutton.

      4. Choose the OK pushbutton.

        The principals you selected appear in the Principals field.

    • Select the Use an expression radio button to define potential owners by an expression. The expression is evaluated at runtime to dynamically resolve potential owners.

      1. Choose the Edit... pushbutton.

        The expression editor opens.

      2. Specify an expression. For more information, see Creating Expressions .

Caution

If you use context nodes in your expression from different namespaces with equal names, you have to declare the namespaces of these nodes. To solve the name conflict you can define a name prefix for the namespace. This declaration has the following syntax: xmlns:<prefix_name>="namespace_name" .

Note

When potential owners become actual task owners, they have the option of sharing the task and inviting contributors to the task at runtime. Thus, multiple users can work together on a single task instance. Every user can be a contributor except for the excluded owners. Contributors can only add notes and attachments to tasks, but cannot complete a task.

To enable task sharing at runtime, open a task and select the Allow actual owner to invite contributors to this task checkbox under General Information on the Overview tab page.

Task sharing is enabled by default for all new tasks you create. To disable the option, deselect the checkbox.

Defining Potential Owners for an Individual Human Activity

  1. Expand Process Modeling , then expand Processes .

  2. In the context menu of a process, choose Open .

  3. Choose a human activity in the process.

  4. Choose Task in the Properties view.

  5. Select the Potential Owners checkbox under Task Overrides .

    A Potential Owners tab page appears in the Properties view.

  6. On the Potential Owners tab page, define potential owners by one of the following options:

    • Select the Choose one or more UME principals radio button to search potential owners from a list.

      1. Choose the Choose... pushbutton.

      2. In the dialog that appears, choose a principal type from the dropdown menu and enter a principal name. Choose the Search pushbutton.

      3. Select a principal from the Search Results field and choose the Add-> pushbutton to add the principal to the Principals to Select field.

        Note

        To add all principals listed in the Search Results field to the Principals to Select field, choose the Add All-> pushbutton.

      4. Choose the OK pushbutton.

        The principals you selected appear in the Principals field.

    • Select the Use an expression radio button to define potential owners by an expression.

      1. Choose the Edit... pushbutton.

        The expression editor opens.

      2. Specify an expression.

      3. Choose the OK pushbutton.

Defining Potential Owners for a Lane

  1. Expand Process Modeling , then expand Processes .

  2. In the context menu of a process, choose Open .

  3. Choose a lane, then choose Potential Owners in the Properties view.

  4. Select the Define potential owners globally for human activities/tasks in this lane checkbox, if it is not selected.

  5. Define potential owners by one of the following options:

    • Select the Choose one or more UME principals radio button to search potential owners from a list.

      1. Choose the Choose... pushbutton.

      2. In the dialog that appears, choose a principal type from the dropdown menu and enter a principal name. Choose the Search pushbutton.

      3. Select a principal from the Search Results field and choose the Add-> pushbutton to add the principal to the Principals to Select field.

        Note

        To add all principals listed in the Search Results field to the Principals to Select field, choose the Add All-> pushbutton.

      4. Choose the OK pushbutton.

        The principals you selected appear in the Principals field.

    • Select the Use an expression radio button to define potential owners by an expression.

      1. Choose the Edit... pushbutton.

        The expression editor opens.

      2. Specify an expression.

      3. Choose the OK pushbutton.

Caution

You can also define excluded owners for tasks in the process model. If you define the same principals for potential and excluded owners of a task, the task becomes invisible when you execute the process. For more information about defining excluded owners, see Defining Excluded Owners .