I have a process with parallel gateways running similar service tasks(connector tasks) .Each of them once triggered moves to the next intemediate catch event and starts waiting.
But since the processDefinition/workflow is having only one unique messageName/ID ,how would the catch event be triggered .I will try to trigger both the events which is not desired.
Is there any other way to implement this?
Could you please share an example of your process, it would be easier for us to understand better your scenario.
For now for me it is not clear what are you trying to achieve.
Hi @yana.vasileva ,
Attaching the sample scenario which i need to implement.
When I start the process both the catchEvents would be waiting and the rest api(engine-rest/message) would be triggered by using the messageName and BusinessKey…which is the same for both the events.How would I distinguish and trigger only the one which was intended to be triggered at that time.?
.parallel_GatewaySample.bpmn (11.4 KB)
Sorry for the wrong model attached above.
So it’s possible to have multiple message names inside a single process definition…?
Could you please share any example of the same.
Yes, it is possible.
Here is the docs page - Message Events | docs.camunda.org
An example with diagram of our tests - example1
Another example without digram - example2
However you can try it with your process by setting up the following:
Hope this helps.