Show TOC

Defining an Activation Time of a TaskLocate this document in the navigation structure

Prerequisites

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

  • You have created a task.

Context

The activation time is the time when the task is activated, that means when the task transitions from its initial status "Inactive" to status "Ready". As long as tasks are inactive, end users are not able to see them except of administrators.

By default a task becomes active upon its creation. You can define a different activation time by defining an offset related to the task creation time or by using an expression to evaluate absolute time of type xsd:dateTime. The task is activated when the activation time is reached.

Procedure

  1. Expand Process Modeling , then expand Tasks .
  2. In the context menu of a task, choose Open .

    The task editor opens. The Activate this task by creating it checkbox on the Time Constraints tab page is selected by default.

  3. Deselect the Activate this task by creating it checkbox.

    The options to define an activation time different from the default one become active.

  4. Define a new activation time by one of the following options:
    • Select the Use an offset relative to the task creation time radio button.

      1. Enter a value that is greater than 0 in the Offset field.

      2. Select a period of time from the dropdown menu.

      The value in the Offset field and the period of time are added to the task creation time to form the new activation time.

    • Select the Use an expression radio button.

      1. Choose the Edit... pushbutton.

        The expression editor opens.

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

      3. Choose the OK pushbutton.

Results

You have defined new activation time that is different from the default one.