When you add a Compensate event, you should take into account the following considerations.
The following restrictions apply to Compensate events:
- You can add Compensate events only to exception or compensation flows.
- The Compensate event can only reference flow objects included in the group affected by the
compensation flow.
- You can add a Compensate event to a compensation flow or an exception flow that does not contain a
group, although it does not add any functionality because there are not any internal executions to
compensate.
Roles
You should add Compensate events in automatic role lanes. You can add Compensate events in
user-defined roles but this does not add any information to the process. The engine runs Compensate
events without the user's intervention.
Transitions
You must connect Compensate event to the compensation flow using an inbound compensate transition.