Show TOC

Defining a Default Start 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 Project Explorer view.

  • You have created a task.

Context

A start deadline indicates by when the task processing must have been started. The task must be started by users before the deadline is reached, otherwise compensation actions are triggered based on the nature of the deadline (critical or non-critical).

By default the task has no start deadline. You can define a default start 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 start 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 start deadline checkbox under Start Deadline on the Time Constraints tab page.
  4. Define a default start 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 start 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 start 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 started before the deadline is reached.