I want to send a message to a subprocess, create a human task, and continue the parent workflow after the subprocess is complete. But it’s not working. I think it’s easy to solve, but I’ve been trying for two days and I don’t get it.
It’s not possible to send a message from a process to itself - it’s against the BPMN standard. the message must leave the scope to be picked up. You should instead use the conditional even to trigger the even subprocess.
Cannot submit task form 5f953c0d-6b0e-11e8-907f-00155df8203f: Error while evaluating expression: ${execution.getProcessEngineServices().getRuntimeService().startProcessInstanceByMessage(“Message_34i2p5l”).correlateWithResult()}. Cause: org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message ‘Message_34i2p5l’: No process definition matches the parameters