Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Process Modeling Concepts : Correlation Data

Correlation Data
Correlation data must be used to ensure that each incoming message is received by the process instance to which it applies. The incoming data to a receive task or catch message event is compared to the correlation data in existing process instances to determine whether it applies to that process instance. You must initialize the correlation data with a value, either on the start message event, or subsequently (for example in a script task).
In a process, a catch message event or a receive task waits for an incoming message to arrive. In the runtime environment there may be many instances of the process (each with different data), and many incoming messages (each with different data).
To illustrate how using correlation data works, consider the following example:
After the user task, the receive task (Receive Authorization) waits for the correct incoming authorization. To do this, the business analyst associates the OrderRef correlation data field with the Receive Authorization task. When an incoming message is received, the incoming data is compared to the correlation data to make sure that it applies to that process instance.
After creating correlation data fields, and associating them with the relevant events or tasks, the correlation data must be mapped with the incoming data. This is the job of the solution designer. For more information, see the appropriate implementation guide.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved