Use oncomplete for a delete transaction