Greetings, everyone. I am currently working with a Camunda Process which looks like this:
As of right now, for the most part, the workflow of the process is going as it should. However, sometimes, we receive the callback for message correlation from an external service too fast (for example, we receive success2 message event while we are still working on task1), before the process waits on the Gateway for any messages, thus leading to message Correlation Exceptions.
Are there any good practices that could ensure correct behavior in this scenario?
Some of the possible solutions I have saw were involving either conditional events or event subprocesses.
Thank you in advance for any cooperation.