We've moved!
For WDL questions, see the WDL specification and WDL docs.
For Cromwell questions, see the Cromwell docs and please post any issues on Github.

Possible to execute a task on workflow failure?

I have been experimenting with creating various variant calling workflows and the one thing I would like to do is to have some error catching code to automatically alert me (perhaps sending me an email) when the workflow fails. I know I can create an external process to check return statuses, etc.. but is it possible to have a task (or other code) that executes even though one of the steps of the workflow fails? Or executes only if something fails? Like a try-catch type of arrangement? Or final cleanup task that is always run?

The post entitled "Implementing Error Handling" seems to imply that there is no such capability.
Sign In or Register to comment.