Unit 6: Creating a Task "Check Notification of Absence" 

Use

You define the task Check notification of absence. This task is incorporated into your workflow definition as the second step.

As this is not the first task you have defined, many steps will doubtless be familiar to you. (Refer to Unit 4: Defining and Inserting Task "Create Notification of Absence.)

Prerequisites

The object type used (here: FORMABSENC (notification of absence)) and the required method (here: Approve) are already defined and implemented in the Business Object Repository.

Procedure

  1. Choose Tools ® Business Workflow ® Development ® Definition Tools ® Tasks/Task Groups ® Create.
  2. The screen Task: Maintain is displayed.

  3. In the Task type field, choose the Standard task entry.
  4. Choose .

The Basic data tab in the Standard task: Create screen is then displayed.

Entering the basic data

  1. Enter an abbreviation (of your choice) and a name (of your choice) for the task to be created.
  2. Abbreviation: < ini _check>

    Name: <Check notification of absence (ini)>

    Object type and method

  3. Enter an object type and a method:
  4. Object type: FORMABSENC

    Method: APPROVE

    You can also use the F4 input help to select the method.

    Work item text

  5. In the Work item text field, enter the text Check notification of absence from .
  6. Choose . Save your standard task as a local object.
  7. You can include variables in your work item text to be filled with values from the task container at runtime..
  8. The name of the creator of the notification of absence is to be included into the work item text. As soon as the work item appears in the superior’s Business Workplace, the name of the creator appears in the work item information text.

    Position the cursor in the work item text after the word of .

  9. Choose .
  10. The Please choose an expression dialog box is then displayed.

  11. Choose the expression Notif. of absence by double-clicking the Container node. ® Issuer object ref. ® Name.

If _WI_Object_ID is displayed instead of Notif. of absence, choose . The system then displays the description of the expressions instead of their technical names.

The variable &_WI_Object_ID.Creator.Name& has been added to the work item text automatically. The variable name displayed here is the technical name of the expression.

You can integrate all of the elements in the task container in your work item text. This enables you to include information into the work item text, which is not available until runtime.

Entering the description text

  1. Go to the Description tab.
  2. Choose Task description in the Test type field.
  3. The current task description is then displayed. This text is intended to inform future recipients of a work item in which this task is referenced and help them in their work.

    The text will often be similar to the work item text or may supplement it.

  4. Choose .
  5. Enter the following text:
  6. Please check notification of absence no. &_WI_OBJECT_ID.NUMBER& from &_WI_OBJECT_ID.CREATEDATE& of employee &_WI_OBJECT_ID.CREATOR.NAME& .

    Decide whether to approve the request.

    If you want to insert an expression from the task container as a text variable, choose Include ® Expression. Then choose the relevant expression in the Please choose an expression dialog box by double-clicking the Container node.

  7. Choose .
  8. Choose .

Determining possible agents

  1. Select Additional data ® Agent assignment ® Maintain
  2. This takes you to the Standard task: Maintain Agent Assignment screen.

  3. Position the cursor on the name of your task.
  4. Choose .
  5. You go to the dialog box Choose agent type.

  6. Double-click Job.
  7. The dialog box Choose Job is displayed.

  8. Enter either part of or the full abbreviation of the job that you created for the head of department in Unit 1: Organizational Plan.
  9. You return to the screen Standard task: Maintain agent assignment.

  10. Choose .
  11. You have linked the task to the job of a head of department. In the organizational plan, you use this job to describe a position. The holder of the position is also displayed.

  12. Choose .
  13. Choose .

Result

The task for checking the notification of absence is defined in full. You can now exit the screen for defining a task.

In the next unit, you will incorporate this task into the workflow definition.

Display your organizational plan again.

          1. Choose Tools ® Business Workflow ® Development ® Definition Tools ® Organizational Management ® Organizational Plan ® Display.
          2. Choose your organizational unit in the search area. Display it by double-clicking the entry in the table.
          3. In the overview screen, choose the arrow on the right next to the and then Staff assignments (list).
          4. Display a detailed view of the position of the head of department by double-clicking the entry in the list.

Here, you can see that this position is assigned to the job and, on the Tasks tab, that it is also assigned to the task Check notification of absence.