Hi all,
I have a workflow, with a sub-process, as per the below (a simplified version of our actual production workflow).
Following the publish of the Kafka event to another system in the “Send a Kafka event” step, the system replies ‘quickly’ within 50ms or so. However, at the point the response has been received, the sub-process “Wait for ACK’s” doesn’t seem to exist, so the message is dropped and the workflow doesn’t proceed.
This shows in the logs as
org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message 'downstream-response': No process definition or execution matches the parameters
For responses that are ‘slower’, the sub-process exists and is therefore able to correlate the response back to the sub-workflow as expected.
Is there a best practice for accommodating this scenario?
Thanks