How to get email notification when my robotic process failed

Good Day Experts,

Can anyone please guide me, how to get(trigger) the email notification when robotic process failed. we can handle this by catching the exception on java but I wanted to know is there any other way, like how we will get alerts in BPM.

Thanks in advance.

Cheers,

Kalai.

  Discussion posts and replies are publicly visible