PrequalifyProduct collaboration template

The PrequalifyProduct collaboration template is used to determine whether a service can be offered to a specified customer. This collaboration communicates with a provisioning system.

PrequalifyProduct uses the Generic PrequalInfo business object to represent a customer's prequalification to purchase a product. PrequalInfo contains customer information such as the customer's location, as well as information on the offered service.

This collaboration template uses the ProcessContext attribute of generic business objects to maintain process information between two or more collaboration objects. In order to maintain this information, the collaboration object performs the following actions, starting from when it receives a triggering business object:

Collaboration object setup

This section includes information on port bindings and required steps for setting up collaboration objects based on this collaboration template. For information on standard features, ports, and configuration properties for collaboration templates, and for general information on creating collaboration objects refer to the documents listed in Required documents for creating collaboration objects.

Port information

The following diagram illustrates PrequalifyProduct's ports:

PrequalifyProduct collaboration's ports

Note: To keep the collaboration object from using a port, bind that port to the Port connector. Doing so indicates that the port is unused without causing the collaboration object to provide additional functionality.

The following tables describe bindings for the ports of two separate collaboration objects based on this collaboration template. The purpose of the two instances is described in Setting up the collaboration object.

Port name: From
Business object Bound to Function Verbs used
PrequalInfo (Instance A) WebSphere MQ Workflow Receives the triggering business object Prequalify
PrequalInfo (Instance B) Provisioning system Receives the triggering business object ReturnResult
 
Port name: To
Business object Bound to Function Verbs used
ServiceLocationData (Instance A) Provisioning system Sends the triggering business object out of the collaboration object Validate, Qualify
ServiceLocationData (Instance B) WebSphere MQ Workflow Sends the triggering business object out of the collaboration object ReturnResult

Setting up the collaboration object

Since this collaboration object is assumed to handle a long-running process, a special setup for an asynchronous call model is required. In order to set up the collaboration object for an asynchronous call model, complete the following steps:

  1. Create two instances of this collaboration object:
  2. For each collaboration object, configure the ports as follows:
  3. Finally, set the configuration properties for PrequalifyProduct.

Collaboration template processes

This section illustrates the following business processes for this collaboration template:

Overall process logic

This section illustrates PrequalifyProduct's process logic for its supported verbs indicated below:

Prequalify

The following diagram shows the process logic for this collaboration template's ReturnResult verb.

PrequalifyProduct collaboration Prequalify process logic

ReturnResult

The following diagram shows the process logic for this collaboration template's ReturnResult verb.

PrequalifyProduct collaboration ReturnResult process logic

Standard business processes

This collaboration template uses the following standard business processes:

Configuration properties

This collaboration template uses the following standard configuration properties for collaboration templates:

Copyright IBM Corp. 2002, 2003