How to use an Event Subprocess?

Dear colleagues,

I’m currently encountering a challenge with the use of an Event Subprocess in BPMN. Although I suspect the solution is relatively straightforward, I seem to be missing something.

My goal is to trigger a subprocess through an error event. However, I haven’t been able to locate any error event element that initiates a process.

For better context, I’ve attached a supporting image.

Any guidance or suggestions would be greatly appreciated.

Hi @Domingos_Dias

IIt appears that you are modeling your process within a group, rather than within an event-subprocess. I make this assumption based on the border-style in the model (as seen in the attached screenshot).

Consequently, the behavior would be logical, as an error-event is only valid as a start event in the context of a (event-)subprocess and not globally (since I think it must be triggered within a running process. See docs: Error events | Camunda 8 Docs).

The group instead would make the definition globally since it is not an element with an effect on the engine, but only one that can be used to logically group stuff.

Best regards,
Marco

1 Like