Can sub-processes / event sub-processes have a message end event?

Hello Camunda ppl - your community is a quarry for great discussions&answers. I think this is the right place (better than stackexchange for bpmn) to ask you for help.
Boiling it down to the painpoint:

I wonder, if sub-processes can end with a message end event. And in addition, does this hold for event sub-processes as well? (I know that event sub-processes are not allowed to have boundary events.)

The standard does not really talk about this as it seems to be allowed, but that would mean that a subprocess sort of crosses its boundary with a message flow. And looking for examples I literally did not find any on google.

My process needs to be able to react to input that can “happen” at any time. And after dealing with it, I want to send a message to another pool. Imagine sth like e.g. an event sub-process that listens to a process abortion from another pool (message start event), will process it (log etc.) and then send a message back to the other participant “I cancelled it.” …

Side question: How come no-one seems to have this problem, what am I missing? :smiley:

Hi @MaKu,

Yes, I believe it should be okay to end your event sub-process with a message end event.

1 Like

Thank you @hassang.