Unit 11: Define and Include "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 necessary task within the workflow definition as in unit 4.

Procedure

You 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

  1. Choose under step type. The cursor changes shape.
  2. 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

  1. Choose the arrow on the right next to the and then Create task.
  2. The Basic data tab in the Standard task: Create screen is then displayed.

  3. Enter the following data.
  4. Abbreviation: <ini_revis>

    Name: <Revise notif. of absence (ini)>

    Work item text: Revise notification of absence

    Object type: FORMABSENC

    Method: UPDATE

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

  5. Save your standard task as a local object.
  6. Select Additional data ® Agent assignment ® Maintain
  7. Position the cursor on the name of your standard task.
  8. Choose Properties…
  9. Set the General task indicator.
  10. Choose Copy and then .
  11. The screen for editing the standard task is then displayed.

  12. Choose and then .
  13. 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 ).

  14. Confirm the proposal with .
  15. The system has entered the abbreviation for the new standard task in the Task field. The Step description field contains a description of the standard task. You can change this entry if necessary.

  16. Switch to the Outcomes tab and enter a description (for example request revised ) for the Task executed synchronously outcome.
  17. Entering the agents responsible

  18. Choose Workflow initiator (expression) under Agents.

The system enters the expression &_WF_INITIATOR& in the Expression field and in the input field beside the checkbox.

By doing so, you choose the agent responsible.

Concluding step definition

  1. Choose to check the step definition.
  2. Choose to exit the step definition.
  3. Choose to view the entire workflow definition in the workflow area on the screen.
  4. You will notice that your workflow definition now contains a new step (the activity just created). The undefined step is also still there.

  5. 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:

  1. Create notification of absence.
  2. Reject application
  3. Revise user decision.
  4. Revise request (the new step)

Since you are both the requester and approver and because advancing with immediate dialog is activated, all of the steps are presented to you directly.