What is the special feature of events with the Compensation event event definition?

Intermediate event

Compensation intermediate events can be used in the sequence flow and at the activity border.

In the sequence flow, a compensation intermediate event requests compensation. If an event has been specified which is to respond to this, only the associated activity is compensated. Requesting and responding event must be occurrence copies of each other. If the requesting compensation intermediate event does not have any occurrence copies, that is, no specific responding event has been specified, all responding events visible from the requesting event are triggered. In both cases, this works only with activities whose processing has already been completed.

At the border of activities, compensation intermediate events respond to compensation requests. As soon as a matching request arrives and the processing of the activity associated with the event and to be compensated has already been completed, the event is activated and the subsequent compensation activity is started.

End event

Compensation end events request compensations. The process is the same as the one explained for compensation intermediate events.