Nested transactions and global variables
Hi can anybody help please?
I have an orchestration which has global variables and a transaction nested within another transaction.
The outer transaction updates the global variables and then throws an exception. The exception is caught in an exception handler and within this handler there is a compensate which runs the inner transactions compensation block.
Is there a way in which the outer transaction can commit changes to the global variables before the inner transactions compensation block executes? I am currently following an example in a book which claims that this happens - but I cannot get my global variables to be updated from the outer transaction until I come out of the outer transaction altogeather.
Any help would be appreciated,
Thanks
Gary
|