Correlations

A correlation is a set of identifying properties used by Sybase WorkSpace engine to identify the instance of a business process concerned by a received or a sent message.

You design a correlation using a correlation key. You create a correlation key from the List of Correlation Keys or using the New command in the model contextual menu, and you add variables to the correlation key from the Variables tab of the correlation key property sheet. Correlation variables must have the <<CorrelationProperty>> stereotype.



Receive, send and invoke activities share the correlation keys designed under the model or the parent complex activity. You can select a reception correlation for a receive activity, an emission correlation for a send activity, and the reception and emission correlation for an invoke activity.



Before associating a correlation key to an activity, you must design a data transformation that expresses how to obtain the properties of the correlation from the received or the sent message. You create one or several data transformations with the <<propertyAlias>> stereotype for each activity that uses a correlation key; each data transformation must have the reception/emission message mapping variable as the input variable:



and an assigned variable with the <<CorrelationProperty>> stereotype.