Referring to here: How do I send a message from one process to another?
How can I pass the current business key to the message?
${execution.getProcessEngineServices().getRuntimeService().correlateMessage("message-name", "how do I get the business key?")}
Is it possible, or do I have to write code?
Many thanks
rohwerj
2
Hi @Nick-Minutello
This should be possible by calling
${execution.getProcessEngineServices().getRuntimeService().correlateMessage("message-name", execution.getProcessBusinessKey())}
execution is the variable name for the current DelegationExecution
Ah, it’s blindingly obvious now that I see it!
Many thanks again.