refs #pm-13680 , add hook when complete transaction.