Deploying and Running the Process

This tutorial shows you how to deploy the WelcomeUsersChained process.

Note: Deploying this project is similar to the deployment of the WelcomeUsers project described in the Create, Deploy, and Run Your First BPM Application tutorial. Refer back to that tutorial for more detail on any of the following steps.

Procedure

  1. Connect to your deployment server and deploy the ChainingStart project.
  2. If you have not already done so, log into Openspace and select Organization, then:
    1. Create an LDAP container, specifying easyAs as the LDAP source.
    2. Map the user Mr Steve Simonson to both the Tester and Test Manager positions in the EasyAs organization model that you imported previously in this tutorial.
    3. Map a second user, Mr John Eustace, to the Tester position only.
  3. Log into Workspace as Mr John Eustace , with password "tibco123".
  4. Start the Request Call Chained business service.
  5. On the form which displays in the right-hand pane, press Submit.
  6. In your work items inbox, double-click Get User’s Name to open the work item, then enter a name and submit this form.
    The Display Message task now appears in your Inbox.
  7. Double-click the Display Message task to open it and click Submit.
    Display Message is the first form in the chained sequence, so when you submit it the next form in the chain (Send Out Welcome Pack) displays immediately, and you do not have to select anything in your Inbox.
    Note:
    • The chained user task (Send Out Welcome Pack) is automatically allocated to the same user as the first task—John Eustace—because the participant assigned to the tasks is the same. This overrides whatever distribution strategy is defined. The work item must be completed by the same user and will not be offered to or allocated to any other user.
    • The work item is automatically delivered to the user’s Inbox and opened. The user does not have to return to their Inbox to find and open the work item themselves.

    When you have completed the Send out Welcome Pack task and clicked Submit, note that the next task, Make Follow Up Call to Customer, is not put into the work list for John Eustace, because he is not allocated to the Test Manager position.

    Note: The Make Follow Up Call to Customer task is not allocated to the same user as the previous two tasks, even though they are chained. This is because John Eustace does not qualify as the participant assigned to the Make Follow Up Call to Customer task.
  8. Log out of Workspace as Mr John Eustace and log back in as Mr Steve Simonsen, the user you mapped to the Test Manager position. (The password is the same as for John Eustace.)

    Note that there is already a work item in Mr Steve Simonsen’s Inbox, as a result of Step 7. You can complete this later.

  9. Start another instance of the Request Call Chained business service.
  10. In your work item list, double click Get User’s Name to open the work item, fill in a name and submit the form.
    The Display Message task for the same work item displays in your Inbox.
  11. Double-click the Display Message task to open it and submit this form.
    The Send out Welcome Pack form is automatically opened, as it was for John Eustace. Because this is a chained task following after Display Message, you do not need to select it from the Inbox; it is presented to you automatically.
  12. Click Submit.
    This time, Make Follow up Call to Customer is also displayed automatically as soon as you submit Send out Welcome Pack. When you press Submit for this final task, the process is complete.
    Note: Although the participant for Make Follow Up Call to Customer is defined differently from the participant assigned to the earlier tasks—defined as Process Manager not as Process Tester—you are now logged in as a user who qualifies under both definitions. Therefore, all of the chained tasks are automatically allocated to the same user.

    In your Inbox, you can also see the Make Follow Up Call to Customer task for the work item that you started earlier as Mr John Eustace, but which John Eustace was not qualified to complete.

  13. Click to log out of Workspace.