Hi, so I have created a long sequence which has set of activities going on with it. I want to configure in such a way that despite the error is caused in any point of the sequence, it should send an email with the error message and then restart the process from the beginning.
I have figured out the email sending way, but not able to find something that will allow me to restart the process in case of any potential error along with sending the email. Like setting up onError individually will be way too much for me. Does anyone know the best way to do so? Here I have added a flow chart also for better understanding of what I want to achieve:
I tried using try catch block and putting everything in try but still the process ends when it encounters an error.