Task “Start B” in Process A starts Process B using runtime service which returns the process instance ID of process B
processBId = runtimeService.startProcessInstanceByKey(“ProcessB”, variables).getId()
The task “Start B” does not have a async flag.
That part works fine.
Task “Call SB1” performs a POST call to engine using following correlation:
Is process B actually deploying the pool is not marked executable.
Also - why are you correlating on the processing instance Id, this generally isn’t a good idea - try to use a business key instead and/or some correlation keys
Thanks Niall for your reply, the uploaded process just shows the essential problem of a more complex process. The one shared was not deployed.
The start event of the eventbased sub-process is supposed to be non-interrupting.
We will however try to use business key for correlation instead.
Meanwhile a check using the business key for the correlation gave same problem.
org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: Cannot correlate message ‘Msg_Rec_Process_B’: No process definition or execution matches the parameters
org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message ‘Msg_Rec_Process_B’: No process definition or execution matches the parameters