Update: July 26, 2019
This section of the forum is now closed; we are working on a new support model for WDL that we will share here shortly. For Cromwell-specific issues, see the Cromwell docs and post questions 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.
Tagged:
Sign In or Register to comment.