Show TOC

Overriding Task Attributes for an Individual Human ActivityLocate this document in the navigation structure

Use

When you assign a task to a human activity, you can override the defined task attributes for the particular human activity. You override task attributes for individual human activities when you want to use the same task in different human activities in the process model. Overriding the task attributes means that you define different settings for the task attributes for each human activity instead of creating a new task for each human activity.

You can override the following task attributes for an individual human activity:

  • Priority

  • Potential and excluded owners

  • Activation time

  • Start deadline

  • Completion deadline

  • Expiration time

You override task attributes using the Properties view of a human activity.

When overriding task potential or excluded owner, task activation time, task start or completion deadline, or task expiration time you can use 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" .

For more information about this, see Creating Expressions .

Prerequisites
  • You have configured the AS Java 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.

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

  • You have created a task and have defined task attributes. For more information, see Working with Tasks .

  • You have created a human activity in your process and have assigned the task to the human activity. For more information, see Modeling Human Activities .

  • You have opened the Task tab page in the Properties view of the human activity.

Procedure

Overriding Task Priority

  1. Select the Priority checkbox under Override Task Settings .

    A Priority tab page appears in the Properties view.

  2. On the Priority tab page, select a priority from the dropdown menu.

Overriding Task Potential Owners

  1. Select the Potential owners checkbox under Override Task Settings .

    A Potential Owners tab page appears in the Properties view.

  2. On the Potential Owners tab page, define the potential owners settings that override the default potential owners settings of the task.

    You define the overriding potential owners settings in the same way as you define the default potential owners of a task. For more information about defining potential owners of a task, see Defining Potential Owners .

Overriding Task Excluded Owners

  1. Select the Excluded owners checkbox under Override Task Settings .

    An Excluded Owners tab page appears in the Properties view.

  2. On the Excluded Owners tab page, define the excluded owners settings that override the default excluded owners settings of the task.

    You define the overriding excluded owners settings in the same way as you define the default excluded owners of a task. For more information about defining excluded owners of a task, see Defining Excluded Owners .

Overriding Task Activation Time

  1. Select the Activation time checkbox under Override Task Settings .

    An Activation Time tab page appears in the Properties view.

  2. On the Activation Time tab page, choose the Edit... pushbutton.

    The Expression Editor opens, where you define the activation time settings that override the activation time of the task by an expression.

  3. Specify an expression and choose the OK pushbutton.

Overriding Task Start Deadline

  1. Select the Start deadline checkbox under Override Task Settings .

    A Start Deadline tab page appears in the Properties view.

  2. On the Start Deadline tab page, choose the Edit... pushbutton.

    The Expression Editor opens, where you define the start deadline settings that override the start deadline of the task by an expression.

  3. Specify an expression and choose the OK pushbutton.

  4. (Optional) Select the Raise critical exception when deadline is reached checkbox if you want to raise a critical exception when the task has not been started before the deadline is reached.

Overriding Task Completion Deadline

  1. Select the Completion deadline checkbox under Override Task Settings .

    A Completion Deadline tab page appears in the Properties view.

  2. On the Completion Deadline tab page, choose the Edit... pushbutton.

    The Expression Editor opens, where you define the completion deadline settings that override the completion deadline of the task by an expression.

  3. Specify an expression and choose the OK pushbutton.

  4. (Optional) Select the Raise critical exception when deadline is reached checkbox if you want to raise a critical exception when the task has not been completed before the deadline is reached.

Overriding Task Expiration Time

  1. Select the Expiration time checkbox under Override Task Settings .

    An Expiration Time tab page appears in the Properties view.

  2. On the Expiration Time tab page, choose the Edit... pushbutton.

    The Expression Editor opens, where you define the expiration time settings that override the expiration time of the task by an expression.

  3. Specify an expression and choose the OK pushbutton.