To run this sample, use the Business Process Choreographer Explorer.
To start the BPC Explorer in the integrated test environment of your WebSphere® Integration Developer, follow these steps:
To start the BPC Explorer on WebSphere Process Server, follow these steps:
http://yourhost:yourport/bpc
.Note: Replace yourhost
with your server's internet address and replace yourport
with the port of your server's HTTP transport,
for example
If security is enabled, the BPC Explorer opens with a login screen:
The BPC Explorer opens:
To start the open bank account process, follow these steps:
The Currently Valid Process Templates view is displayed:
The Process Input Message view opens:
If you enter the values that are listed in the following table, the process generates the described results:
No | Field | Value | Output message | Remarks | 1 | credit | < 10001 | Accounts were opened.. | Credit rating is set to "A". |
---|---|---|---|---|
2 | credit | > 10000 | Your request to open an account was rejected. | Credit rating is set to "B". |
3 | firstName AND | "Henry" | Your request to open an account was rejected. | Credit rating is set to "C". |
lastName | "Castro" |
Since the open bank account process is a microflow, the process output message is displayed immediately after the process input message has been submitted:
Inspect the SystemOut.log of your WebSphere Process Server. The open bank account process prints statements similar to the following ones to the SystemOut.log:
[12/19/08 11:03:11:468 CET] 0000005a SystemOut O GetCreditRating
[12/19/08 11:03:11:468 CET] 0000005a SystemOut O Rating is: A
[12/19/08 11:03:11:609 CET] 0000005a SystemOut O OpenCheckingAccount
[12/19/08 11:03:11:687 CET] 0000005a SystemOut O OpenSavingsAccount
[12/19/08 11:03:11:750 CET] 0000005a SystemOut O SetAnswerConfirm