Entering content frameProcedure documentation Unit 8: Second Test Locate the document in its SAP Library structure

Use

You start your workflow in dialog and two steps are executed. The notification of absence is created in the first step and then checked in the second.

Procedure

Starting the workflow and filling out the notification of absence

  1. If you are still in the Workflow Builder, choose This graphic is explained in the accompanying text.
  2. The Test Workflow screen is then displayed. The number of your workflow is entered.

    If you are no longer in the Workflow Builder, choose Tools ® Business Workflow ® Development ® Runtime tools ® Test Workflow. Enter the number of your workflow or use the F4 input help.

  3. Choose This graphic is explained in the accompanying text.
  4. The screen Create Notification of Absence is displayed.

    From the requester’s perspective

    When the workflow is started, the work item for creating the notification of absence is provided to you directly for processing. This is because of advancing with immediate dialog. You were introduced to this in the first test.

  5. Fill out the notification of absence and choose This graphic is explained in the accompanying text.

From the head of department's perspective

You created the step for checking the notification of absence in your workflow definition without specifying the responsible agents. This means that all of the possible agents of the task are recipients of the work item. Since you occupy the position of both requester and head of department, you are automatically and immediately presented with the work item for approving the application. This is again because of advance with immediate dialog.

As the superior, you have several options:

  1. Choose This graphic is explained in the accompanying text to cancel processing.
  2. The Test Workflow screen is then displayed again.

  3. Exit this dialog and, if necessary, the Workflow Builder.

Reporting and analysis: Workflow outbox

In the first test of your workflow, you were introduced at this point to work item analysis. Now, you will be introduced to the workflow outbox.

Amongst other things, the work items that you started in dialog, along with their date, time, and current status, are displayed in the workflow outbox.

  1. Choose Tools ® Business Workflow ® Development ® Runtime tools ® Business Workplace.
  2. In the tree displayed, choose Outbox ® Started workflows.
  3. Choose the arrow This graphic is explained in the accompanying text on the right next to This graphic is explained in the accompanying text and then Today only.
  4. The work items for all the workflows you started today are then displayed. Note the statuses of the work items displayed in the Status column of the Business Workplace. Read the F1 help for the Status column.

  5. Position the cursor on the work item for the workflow just started. This work item has the status In process.
  6. In the preview area, you can see that the step Create notification of absence has been completed successfully, when that was and who processed it. The work item has the status Completed.

    You can also see that the work item representing the task for checking the request still has status Ready and can therefore still be seen in the superior’s Business Workplace.

    Business Workplace - check notification of absence

    You now once again occupy the position of the superior who canceled processing earlier when the application was to be checked.

  7. In the tree, choose Inbox ® Workflow.
  8. The work items for you to process are displayed with their work item texts and certain other attributes.

    A preview of the selected work item is displayed below the list and contains the description of the work item.

  9. Select the work item for checking the notification of absence and choose This graphic is explained in the accompanying text.
  10. You go to the work item display. There you find, amongst other things, the description text, also with replaced text variables.

  11. Choose This graphic is explained in the accompanying text to return to the Business Workplace.
  12. Choose This graphic is explained in the accompanying text or start execution by double-clicking the entry.
  13. Either reject or approve the request. You should start the workflow twice and test each variant.

To check whether the workflow was completed correctly, go to your workflow outbox. The procedure is described above.

Result

Your workflow definition has now been tested and you can continue with the next unit.

Leaving content frame