Unit 11: Defining and Including "Revise Notification of Absence" in the Workflow Definition
Use
You will now add the activity Revise notification of absence to your workflow definition. You will create the required task within the workflow definition.
Procedure
Start the Workflow Builder and open your workflow definition in change mode. Proceed as described in Unit 7: Including "Check Notification of Absence" in the Workflow Definition
Creating an activity as a step in the workflow definition
-
Choose
under step type. The cursor changes shape. -
Position the cursor on the Undefined step that follows the outcome Revise after the user decision, and click.
By doing so, you add an activity to your workflow definition. The step definition is shown in the right-hand part of the screen. You are on the tab page Control.
Creating a standard task for use in this step
-
Choose the arrow
on the right next to the
and then Create Task.You reach the Standard Task: Create screen and are on the Basic Data tab page.
-
Enter the following data:
-
Abbreviation: < ini _ueber>
-
Name: < Revise Notification of Absence ( ini )>
-
Work item text: < Revise notification of absence>
-
Object Category: BOR object type
-
Object Type: FORMABSENC
-
Method: UPDATE
You can also use the F4 input help to select the method.
-
-
Save your task as a local object and exit the task definition.
You then return to the step definition in the Workflow Builder. For this task, a binding must be defined between the workflow and task containers. The system proposes a binding and displays it for you to check in the Define container elements and binding dialog box. This proposal defines that the object reference to the notification of absence is transported from the workflow container (container element AbsenceForm) to the task container (container element _WI_Object_ID).
-
Confirm the proposal with
.The system has entered the abbreviation for the new task in the Task field. The Step description field contains a description of the task. You can change this entry if necessary.
-
Choose
. -
Position the cursor on the name of your task.
-
Choose Properties….
-
Set the General Task indicator.
-
Choose
Copy and then
.The screen for editing the standard task is then displayed.
-
Choose Workflow initiator (expression) under Agents.
The system enters the expression &_WF_INITIATOR& as the responsible agent in the Expression field and in the input field beside the checkbox.
-
Switch to tab page Outboxes and enter a description (Suggestion: Revised Request) for the outbox Step Excuted.
Concluding the step definition
-
Choose
to check the step definition. -
Choose
to exit the step definition. -
Choose
to view the entire workflow definition in the workflow area on the screen.You will notice that your workflow definition now contains a new step (the activity just created). The undefined step is also still there.
-
Choose
.The workflow definition is checked, saved, and, provided it does not contain any errors, activated. The system displays a message if problems are encountered during the test.
Result
You can now subject your workflow definition to another test. Carry out the test as described in Unit 10: Third Test.
Test proposal
To test the new step, proceed in the following order:
-
Create notification of absence.
-
Reject notification of absence.
-
User Decision: Revise.
-
Revise request (the new step)