Message event - Multiple listeners of process instance

Hello Team,
Problem statement:
P1 will publish a Message event which will be listened by P2 at intermediate step.
If P2 hasn’t reached wait state to receive Message event while P1 has completed processing and ready to publish event.
P2 has to complete certain steps before it’s ready to listen to Message event.

Solution:
Above problem was resolved using ,
image

Enhanced problem statement:
The above solution works perfect when single instance of P2 is running.
But in our case we have multiple instances of P2 in which it fails. Same business key passed on to P1 and all instances of P2.
Message published using : runtimeService.createMessageCorrelation(“topic”).processInstanceBusinessKey(execution.getProcessBusinessKey()).correlateWithResult()

Please help me to find a solution for same asap.

Thank you in advance.

Hi @Vidya_Shettar

This is a duplicate of this topic so i’m going to lock this.
If people would like continue this conversation they can do so on the original post.