I noticed that it is not possible to compensate transactions after having left them via an interrupting boundary event.
The compensation task does not come up if the message arrives while waiting for the second user task to be completed.
I thought it would, because the transaction is interrupted and as far as I got it, active transactions can not be compensated.
With an adapted flow, where the transaction is left after all tasks are completed, the message receive event is placed not at the boundary but on the outgoing flow of the transaction, it works.
I am wondering why the way of leaving the transaction has an influence on if it can be compensated?
Is this intended?
For me, it is an obstacle at the moment.
But maybe there is a reason that I am overlooking?