How can i set process to run automaticly if it is failed?

I want to re-run my process, if it is failed while it was running.

Is it possible to configure this phonemenon?