-
Type:
Feature Request
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: engine
-
None
The current message correlation API allows "only" to correlate a message to exactly one process instance. There are a couple of use cases where you want to send a message to x waiting processes - hence the correlation query results in multiple executions being found. It would be pretty convenient to allow to trigger them all in one go.
runtimeService.createMessageCorrelation("orderCancelled")
...
.correlateAll(); <<< Add this