Unit 6: Creating 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
This time, you will not define the task directly from the Workflow Builder, but independently in task maintenance.
The Task: Maintain screen is displayed.
.The Basic data tab in the Standard task: Create screen is then displayed.
Entering the basic data
Abbreviation:
< ini _check>Name:
<Check notification of absence ( ini )>Object type and method
Object category:
BOR object typeObject type:
FORMABSENCMethod:
APPROVEYou can also use the F4 input help to select the method.
Work item text
. Save your task as a local object.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 .
.The Please choose an expression dialog box is then displayed.

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
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.
.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, you have to choose Include
® Expression. Then choose the relevant expression in the Please choose an expression dialog box by double-clicking the Container node. You cannot insert an expression manually in the text.
.
.Determining possible agents
This takes you to the Standard task: Maintain Agent Assignment screen.
.You go to the Choose agent type dialog box.
The Choose Job dialog box is displayed.
You return to the Standard Task: Maintain Agent Assignment screen.
.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.
.
.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 your workflow.

Display your organizational plan again.
on the right next to
and then Staff assignments (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.