Run the sample

To run this sample, use the Business Process Choreographer Explorer.

Business Process Choreographer Explorer (BPC Explorer)

If you already know how to start a BPC Explorer session, you may proceed to the section Start the sample business process.

To start BPC Explorer in the integrated test environment of your WebSphere® Integration Developer, follow these steps:

  1. In WebSphere Integration Developer, switch to the Servers view.
  2. In the table, right-click WebSphere Process Server v7.0.
  3. From the pop-up menu, select Launch > Business Process Choreographer Explorer.

To start BPC Explorer on WebSphere Process Server, follow these steps:

  1. In a web browser, open URL http://yourhost:yourport/bpc.
  2. Note: Replace yourhost with your server's internet address and replace yourport with the port of your server's HTTP transport, for example

The login screen is displayed:

  1. Enter a valid User ID and Password. The default User ID is admin.
  2. Click Login.

Start the sample business process

To start the promotional gift process, follow these steps:

  1. Switch to the BPC Explorer.
  2. In the Process Templates section, click the Currently Valid link.
  3. The Currently Valid Process Templates view is displayed:

  4. Select PromotionalGiftProcess, then click Start Instance.
  5. The Process Input Message view opens:

  6. Optionally, enter a Process Name; here we have used promo 1.
  7. In the nameOfNewCustomer field, enter a value of type string.
  8. Click Submit.

Work with the human tasks of the sample business process

This sample business process involves humans to enter data that are required in the process. You can use the BPC Explorer to work with the provided human tasks.

To work with human tasks, follow these steps:

  1. Switch to the BPC Explorer.
  2. In the Task Instances section, click My To-dos.
  3. The My To-dos view opens:

    The SelectPromotionalGiftTask is in the ready state.

  4. Select SelectPromotionalGiftTask, then click Work on.
  5. The customized Task Message view is displayed:

  6. In the Name field, enter a value of type string.
  7. In the Address field, enter a value of type string.
  8. Select a Promotional gift. The Extra charge field is updated when you select a promotional gift.
  9. In the Credit card number field, enter a value of type string.
  10. In the Credit card company field, enter a value of type string.
  11. In the valid thru field, enter a value of type string.
  12. Click Complete.

Process output

Output message

Since the promotional gift process is a long-running business process, the process output message is not displayed immediately after the process input message has been submitted. To display the process output message, follow these steps:

  1. In the BPC Explorer, switch to the Process Templates view.
  2. Select PromotionalGiftProcess, then click Instances.
  3. The Process Instances for Process Templates list is displayed:

  4. Click the process instance name, which is a hyperlink.
  5. The Process Instance view is displayed:

  6. Click the Process Output Message tab.
  7. The process output message is displayed:

Clean up process instances

During modeling of the promotional gift process it had been specified that process instances are not cleaned up automatically when they have finished. To delete process instances manually, follow these steps:

  1. In the BPC Explorer, switch to the Process Templates view.
  2. Select PromotionalGiftProcess, then click Instances.
  3. The Process Instances for Process Templates list is displayed:

  4. Select all process instances with a state of Finished or Failed.
  5. Click Delete.