Show TOC

Defining a Default Completion Deadline 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 the Project Explorer view.

  • You have created a task.

Context

A completion deadline is the deadline before which the task must be completed. By default the task has no completion deadline. You can define a default completion deadline by defining an offset related to the task activation time or by using an expression to evaluate absolute time of type xsd:dateTime.

You have an option to set the task to an error state when the completion deadline is reached.

Procedure

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

    The task editor opens.

  3. Select the Define a default completion deadline checkbox under Completion Deadline on the Time Constraints tab page.
  4. Define a default completion deadline by one of the following options:
    • Select the Use an offset relative to the task activation 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 activation time to form the default completion deadline.

    • 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 a default completion deadline for the task. You can 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.