Deploy the FindAddress Application

Procedure

  1. In the Deployment Servers view, right-click XYZ Work Server1 and click Deploy Module. The Deploy Module(s) wizard is displayed.
  2. Select Deploy BPM Project then click Next. The Select Project dialog is displayed.
  3. Select FindAddress as the module to deploy.
  4. Click Next. The Administrator Setup dialog is displayed.
  5. Click Next. The Property Configuration dialog is displayed.

    The list identifies the system participants used in the process:

    • HttpInboundConnectionConfig is used by the Start Event to expose the process as a virtualized service to the GetAddress business service.
    • For the outbound connection, the deployment process looks for a resource instance that corresponds to the name of the system participant, which is UKAddressWebService.
  6. If there are no errors, press Finish.
  7. If a warning is displayed that no such instance is present, Select HttpOutboundConnectionConfig and click Override. The Property value window displays. From the drop-down menu in the Existing Resource Instance field, select the resource instance that you created earlier. In the example illustrated below, this is UKAddressServiceInstance.

    The Map through Substitution Variable box is checked.This creates a runtime substitution variable named AddressService_Consumer1 from the AddressService_Consumer system participant name. Using a substitution variable to identify the system participant makes it easy to change the resource instance used by the application at runtime, without having to redeploy the application.

    See the Administrator interface documentation for your BPM runtime environment for more information about substitution variables.

    This mapping defines that, at runtime, when the Find address web service task is executed, the call is sent to the web service defined by the UKAddressServiceInstance resource instance. (The mapping can be changed at runtime by reassigning the AddressService_Consumer1 substitution variable to a different HTTP Client resource instance.)

  8. Click Finish. The Progress Dialog is displayed while deployment takes place, and should indicate that deployment has finished with no errors. Progress messages are also displayed in the Console view.
  9. In the Deployment Servers view, expand XYZServer1 > BPMEnvironment > Applications. A com.example.findaddress entry is displayed, indicating that the application has been deployed to the BPM runtime.
  10. In the Deployment Servers view, right-click XYZ Work Server1 and select Open > Administrator in web browser. The login screen for the Administrator interface in the BPM runtime is displayed.
  11. Log in as user root.
  12. Click Applications. The list of available applications is displayed.
  13. Check that com.example.findaddress has deployed successfully. Its Runtime State should be Running. Its Action Status should be Deploy with Start Successful.
  14. Log out from Administrator.