Allows BPMN designers to declaratively define what values, from an incoming JSON based message, will be used to correlate to a Process or a Process Instance (e.g. Execution). Message values are evaluated at runtime using JSON Path expressions which are stored within the BPMN.
Using the modeler you can assign extensions to the message catch
Note: {prefix} defaults to
ultimate.workflow
but can be configured via the application properties
Assigns the business process key that will be used to start a new process or match on a currently running process
Note: This can also be declared as
{prefix}.match-var.business-process-key={json-path}
Java equivalent:
processEngine.getRuntimeService()
.createMessageCorrelation("com.acme.messages.important-event")
.processInstanceBusinessKey("key")
Creates a match requirement on a variable whose name is defined by {variable-name}
Java equivalent:
processEngine.getRuntimeService()
.createMessageCorrelation("com.acme.messages.important-event")
.processVariableValueEquals("key", "value")
Sets a variable, whose name is defined by {variable-name}
Java equivalent:
processEngine.getRuntimeService()
.createMessageCorrelation("com.acme.messages.important-event")
.setVariable("key", "value")