Correlation Data
Correlation data must be used to ensure that each global signal event is received by the process instances to which it applies. Global signals are designed to be caught by multiple process instances. If there are multiple process instances with matching correlation data, then the signal is triggered in each one.
See Sending Signals Between Processes for more details.
Correlation data can also be used instead of the process instance ID to ensure that an incoming request event or task is triggered in the correct process instance. See Controlling Flow From an External Application for more details.
To work with correlation data:
-
Decide whether elements within the incoming data can be used to uniquely identify instances of this process. If the incoming data can be used to identify the process, create a correlation data field in the process and the global signal payload definition. In the catch global signal event map these correlation fields together.
-
In a throw global signal map, the data that identifies the required process instances to the correlation field in the signal payload.