ActiveVOS Designer User’s Guide

What is a Correlation Set?

A correlation set is a set of properties shared by messages. A correlated message has a piece of data that is the same as that in all other messages in the set. Since the element names of each message can be different, you need a mechanism to match up the same piece of data among the messages.

How does the mechanism work? For each correlation set, you create a data property, such as customerId. For each message to be correlated, you create a property alias for a message part, such as a receive’s message part named custId, an invoke’s input message part named CustomerNumber, and so on.

Properties

A message property to be used for message correlation must be a schema simple type like an xsd:int or an xsd:string

Property Aliases

Properties can exist in WSDL messages, schema elements, and schema types. The property alias specifies the message part or query.

For example, a purchase ordering process might define a property called OrderId. Messages may store the value of the order Id in different parts, with different names. A property alias identifies the part. A specific process instance is identified by a unique order Id such that no two processes will ever have the same value for order Id. This ensures that when a message arrives it is dispatched to the correct process instance.

The following illustration shows how a message property alias is mapped to a property name. The property name is mapped to a correlation set. You can create multiple correlation sets, as needed.

Correlation sets mapped to  message properties and property aliases

For more information, see: