Wrap multi-step writes in transactions | BeforeMerge Rules | BeforeMerge