I have an agenda that is divided to 3 transactions.
I also have a transaction that "surrounds" the whole agenda.
something like that:
Begin 1 transaction
End 1 transaction
Begin 3 transaction
End 3 transaction
in case one transaction fails - I'd like to also fail the Big transaction.
When i have 2 consecutive EndTransaction commands, only one of them gets closed. the other gets a message "Big transaction not closed".
Re: Canonical Transactions
This is what i used:
If you close the inner transaction as WlError - the agenda will totaly close and the outer one will not be complete.
If you use minor error to close the inner transaction - you can close both inner and outer transaction.