In the second serviceTask, i throw an exception. The error boundary event can be triggered and the process can be rolled back to the userTask. But i want to send a signal in the error boundary event and the signal boundary event can be triggered. Now the exception seems to affect my signal sending. So how should I solve it or redesign the bpmn?
I don’t know if I understood your question correctly… see if I understood correctly:
Do you want to trigger your Error boundary event, in addition to following the error flow, you also want to execute the Signal Event?
If so… you will need to change your Signal Event to “non-interrupting”… so you will have one token following the Error Boundary Event and another token starting at the Signal Event.
I’m sorry if I didn’t understand your question correctly, maybe my English isn’t that good…
But if I misunderstood, I would be happy if you could explain it to me better so I can help!
Thanks for your answer.I accidentally created multiple process instances, and I found that the signal sent by this process instance was received by another instance.How to avoid it?