Thanks Walter, It’s working fine.
I’ve one more scenario which is slimier to this operation.
Let say I’ve performed two more action (replacing one link with two new individual links). now I would like to maintain this chain in Undo manager.
What I’ve tried so far is multiple Start and Commit Transaction one after another and one inside another but none of them really worked (i.e it misses the sequence, also while undoing deleted link doesn’t appear back, but if I do undo and then again do redo link appears.) Any suggestions to perform the above activity ?