Have you tried using the iwcallback CLT?I cannot say I've ever tried running it on a task with both a success and failure transition, but you might be able to do so.
You could also try restarting the OD service on the sender - which should cause the deployment to "fail" and thus trigger the failure transition.