-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
Add support for correlating a message using the processInstanceId.
Note: think about adding a parameter object to correlateMessage instead of duplicating the method set (or fluent builder)
Added fluent Builder:
runtimeService.createMessageCorrelation(messageName)
.processInstanceBusinessKey("aBusinessKey")
.processInstanceVariableEquals("aKey", "aValue")
.processInstanceId("someId")
.setVariable("aProcessVariable", "aVariableValue")
.setVariable("aSecondProcessVariable", "aVariableValue")
.correlate();
This will allow adding all the features we might come up with in the future without having to add more methods to runtime service