Run the sample

This section demonstrates how to start and perform BPEL and well as BPMN human tasks in the unified BSpace Client. If you completed the Build it Yourself  section you already executed this as part of the testing of the federated query table. In case you just want to run the sample based on the final artefacts provided you need to install and deploy several artefacts. Only the shared saved search for the tasks managed by the BPMN engine has to be specified using Process Portal.

1. Import the Process App used for the sample

  1. Download the final process app Procurement_Sample_Test1_SS5c final process application to a temporary directory.
  2. Open the Process Designer  or the Process Center  Admin console  via http://localhost:9080/ProcessCenter/. Logon using the userid tw_admin and password tw_admin.
  3. Click  Import Process App. Navigate to the directory where you saved the process model and import this file.
    Import
    Wait for the import to complete.

  4. Activate the snapshot, i.e. deploy it to the Process Center Server.
    Select the snapshot SS5. Click Activate to deploy this process app / snapshot to the Process Center Server.

    Note:
    The suffix of the snapshot  might have been changed for development/test/change management reasons without  updating this description or screenshot.


  5. When finished you see following status. You also might use the Process Admin console the retrieve the status of deployed applications.
    Activated SS5

2. Install ear Files

a. Install and start the Web Application

Download an install the ear file which provide the Dojo forms for the task implementations. Follow the instructions in the Build it yourself section  Install and start the Web Application.

b. Install and start the Query Table application

The query tables specifications can be downloaded from the Download section an used with the Query Table Builder as described in Getting Started
IBM Business Process Manager Query Table Builder SupportPac PA71. In this case you would have to download and install the Support Pac PA71: Business Process Manager Advanced - Query Table Builder.
However, we want to use and install the ear file for the query table used for the human task managed by the BPEL engine.
  1. Download the final Query Table PSTEST1.QT_TASK_ORDERID.jar.
  2. Run the command PROFILE_HOME/bin/wsadmin.bat -f WAS_HOME/ProcessChoreographer/admin/manageQueryTable.py -server server1 -deploy PSTEST1.QT_TASK_ORDERID.jar pointing to the file you just downloaded.

3. Develop Saved Search

A shared Saved Search is the equivalent in the BPMN engine to the query table in the BPEL engine. While the Process App, Business Space, and Query Table are artefacts that can be exported and imported isn't it possible for the Saved Search.

Follow the instructions of the entire Build it Yourself section on Create Saved Search using Business Data and Filters for BPD Human Tasks.

4. Import Business Space and Test Federation on BPD and BPEL Tasks

a. Import Business Space

  1. Download the final Space ProcurementSampleBSpace.zip to a temporary directory.
  2. Open the Business Space application and import space the procurement sample application.
    Open your internet browser and enter the url for the Business Space http://localhost:9080/BusinessSpace or https://localhost:9443/mum/enabler.
    Logon using the userid tw_admin and password tw_admin. Press Login.
    You might be prompted to accept a Security Certificate. If so, confirm this.

    Select Manage Spaces > Import Space. Navigate to the temporary directory where you downloaded the final workspace.
    Select the ProcurementSampleBSpace.zip file. Press OK.
    Import Space

    The Procurement_Sample_Space is imported.

  3. Double-click the new Space. Open the tab Initiate Tasks and Processes.

b. Test Federation of BPD and BPEL Tasks - Run the Sample

Continue on with the instructions Test_the_federated_Query_Table.

Congratulations !!! You have successfully performed this sample on the federated Business Space query and user frontend !!!