How to loop a failed RPA automation

Yes. this is not the best solution if you are dealing with a dynamic number of data points