Save item transaction

Hello

I have a certain Item1 and on after save event of this item I trigger another item2 (custom item we created) save. In case first one fails the second wont trigger. But the otherway around obviously doesnt work. This is handled client side.

Is it possible to create transaction scope and add two transactions for saving those two items so if either fails we roll back. Each transaction would be executing applyAML (i guess) 

How would you approach this?

Best regards

Parents Reply Children
No Data