Configuring Java CAPS Business Processes

Creating Correlation Keys

A correlation key is a value that you can define in a Business Process, like a purchase order number, that provides a way to associate and route information about specific Business Process instances. For asynchronous message exchange between components, you must implement correlation of the instance identification. An example of when you use asynchronous message exchanges is when you create a receive activity in the middle of a Business Process.

ProcedureTo create a correlation key

  1. In the Project Explorer, right-click the Business Process, and then click Properties.

  2. Click the Correlations tab.

  3. In the Correlation Keys section, click Create.

    The New Correlation Key dialog box appears.

  4. In the Name field, enter a name, or alias, for the correlation key.

  5. In the Select from Tree field, select a message type from the list to add to the alias. Select one or more correlation keys that comprise a unique identifier for a step in a Business Process.

  6. Click Add to save the new alias to the Selected Alias List.


    Note –

    The value for the Type field is automatically populated.


  7. Click OK.