Stop bot is application get down

I have scenario where bot is processing 100 of record in between that after precess 40 record bot get fail due to application down as general bot will retry multiple time like 3x60 180 time aprox but business does not want they want if 10 time system exception occurred continue need to stop bot.

if you are using re framework, in set transaction status you will have the flow for application exception where you can increment a counter and in case of success or business exception you will have to change the counter back to 0 and you will have to redirect the flow to end process in the main wf if count=10

1 Like

Can you give any example

Any other solution?