HC_GetTask Collaboration Template

The HC_GetTask collaboration template processes MQWF_HC_GetTask business objects. The HC_GetTask collaboration template uses data contained in the MQWF_HC_GetTask business object to query a database table for tasks that match the Injury attribute of the business object. The collaboration then builds and populates an MQWF_HC_GetTaskResponse business object containing information from the database table.

This collaboration object performs the following tasks:

Collaboration object setup

This section includes information on port bindings and required steps for setting up collaboration objects based on HC_GetTask. 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 HC_GetTask'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.

DestinationAppRetreive
Business object Bound to Function Verbs used
MQWF_HC_GetTaskResponse Source application's connector or calling collaboration object. Sends a reference-valued business object to retrieve the full-valued business object. The result determines which verb is used. Retrieve
From
Business object Bound to Function Verbs used
MQWF_HC_GetTask Source application's connector or calling collaboration object. Receives the triggering business object. Create
To
Business object Bound to Function Verbs used
MQWF_HC_GetTaskResponse Destination application's connector Sends the MQ Workflow response message business object out of the collaboration object. Create

Setting up HC_GetTask as a stand-alone object

To set up HC_GetTask as a stand-alone collaboration object, complete the following steps:

  1. Create the HC_GetTask collaboration object.
  2. Bind all ports as described in Port information.
  3. Configure HC_GetTask as described in Configuration properties.

Collaboration template processes

This section illustrates the business processing logic for this collaboration template:

Overall process logic

This section illustrates this collaboration template's process logic for the supported verb, Create.

Create

The following diagrams show the process logic for this collaboration template's Create verb.

Diagram showing this collaboration's SyncLogic process

     SYNC_LOGIC diagram

Diagram showing this collaboration's table query process

     Query COPROC Table diagram

Standard process logic

This collaboration template uses the following standard business processes:

Configuration properties

This section describes the standard and specific configuration properties for this collaboration:

Standard properties

This collaboration template uses the following standard configuration properties:

Collaboration-specific properties

This collaboration template has the following configuration properties specific to it:

DB_CONN_POOL_NAME

This property specifies the database connection pool.

DB_CONN_POOL_NAME configuration property
Default value Usage
HEALTHCARE_DB Defines the database connection pool used by the collaboration.

Related reference

Copyright IBM Corp. 2002, 2003