Build it yourself

This section describes how to define query properties within a business process. It covers how to:

Import the prepared project

A project has been prepared, which serves as the basis to build this sample. To import the prepared project interchange file into WebSphere Integration Developer, perform the following steps:

  1. Download the QueryPropertiesPrepared.zip file, and save it to a temporary directory.
  2. In WebSphere® Integration Developer, click File > Import. The Import window opens.
  3. Select Other > Project Interchange.
  4. Click Next. The Import Project Interchange Contents window opens.
  5. Click Browse next to the From zip file field.
  6. Browse to the temporary directory and select the zip file you downloaded in step 1.
  7. Click Open.
  8. Select your workspace directory as your Project location root.
  9. Click Select All.
  10. Click Finish.
  11. Wait until the automatic build process has finished.

Define new query properties

Query properties can be defined on the variables of a business process. To define new a new query property, perform the following steps:

  1. In the Projects section of the Business Integration view, double-click QueryProperties > Integration Logic > Processes > bpc/samples > ClaimProcess. The process editor opens.
  2. Select the process variable for which the query property will be defined.
  3. Go to the Properties view and select the Query Properties tab.
  4. Click the Add button to add a new query property. The Create a new Query Property window opens.
  5. In the Name field, enter the name for the new query property.
  6. Select the part of the variable for which the query property will be defined.
  7. Click OK. The Create a new Query Property window closes.
  8. If required, perform additional operations:
    • Click Add to add another query property.
    • Click Edit to edit an existing query property.
    • Click Remove to remove an existing query property.
  9. On the toolbar, click the Save button .

Add the following query properties to the process:

Variable Query Property Name Variable Part
customer customerID CustomerInformation > customerNumber
claim claimDescription ClaimInformation > description
claim claimAmount ClaimInformation > amount