
Unit 8: Second Test
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
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.
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.
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:
The Test Workflow screen is then displayed again.
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.
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.
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.
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.
You go to the work item display. There you find, amongst other things, the description text, also with replaced text variables.
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.