Running the application in Business Process Portal
If you have administrator privileges, then you can publish all the three applications from Progress Developer Studio for OpenEdge and then install them in Business Process Portal. For information about installing applications, see the Business Process Portal Administrator’s Guide.
1. Create an instance of the Publisher application. The first workstep," View Publisher Information being passed to subprocesses", is seen in the following figure.
Figure 8. View publisher information workstep
2. Click Complete to complete this task. This invokes the Invoke Subprocesses subprocess workstep, which creates five instances of the subprocess applications. The following figure shows the instances in the My Tasks page of Business Process Portal.
Figure 9. Subprocess instances
You can complete these tasks, in the order of your choice. For example, click the task, "Provide information back to the Publisher" belonging to FictionAuthor (129) instance to display the following page.
Figure 10. FictionAuthor page
As this is the first subprocess instance to be created, it displays the dataslot values retrieved from the corresponding List dataslots.
3. Modify the values in the Estimated days and Expected Royalty boxes from 10 (default for all FictionAuthor instances) to 20.
4. Click Complete to complete this task.
5. Next, complete the FictionAuthor (131) instance task and then the remaining tasks.
6. On completion of all the tasks (including the NonFictionAuthor tasks), the My Tasks page now displays the final task, "Get results back from subprocess", of the Publisher applications. Click the task name to display the following "Get results back from subprocess" page.
Figure 11. Get results page
This page displays the Estimated days and Expected royalty values returned from each of the subprocess instances. As the FictionAuthor (278) instance task was completed first, the values returned from this instance is displayed at the top of the respective list box values.