Consider the following:
The Message Name work
is used.
In the Throw we use an expression implementation of:
${execution.getProcessEngineServices().getRuntimeService().createMessageCorrelation("work").correlateWithResult()}
Few questions:
-
How well is this supported?
-
I have seen slight mention that Single Process Messaging (A throw sending a message to a catch inside of the same process) being problematic?
-
The Real question: Given that we can do this with an expression (assuming that it’s a ‘supported’ function) could we get Script Implementation support for Message events so more complex data manipulation can be used when generating the correlation?
Thanks