Run component when job fails at any step

Hi - I have a job where I need to send a curl request to a URL if a job fails specifically indicating that it has failed. The job is comprised of multiple components that could all potentially fail. When a job fails at a given component, will the failure flow through all subsequent components after that failed component such that I can place a single "BASH Script" component at the end of my job on the failure outcome that will trigger the curl request if there is a failure?

I think there is currently no way to catch *any* error that happens during job execution and execute a bash scipt on error. You have to add components for error handling explicitly.

 

Maybe you could try the "Manage Error Reporting" Feature (https://documentation.matillion.com/docs/4191881) which is pretty much what you need but it can only call Webhooks. But if you manage to setup a webhook on your end which then calls a script if it is triggered, this could be a workaround.

 

If that helps and you find a way to handle all errors, please share your solution with the community.

@Michael​ thanks for that feedback, that error reporting looks promising and I think could be a good way to handle, albeit requiring another service.