Added done/success/fail events to the workflow