How to retry system exception, RE-DataTable Transaction?

Hi Team,

Currently in my process…
if system exception occurred it retryies 3 times that specific transaction
After 3 retry it falied then it closed all application

then going to process the next transaction but application is closed.

so its keep retrying other transactions as well even if application has closed

suggest me the solution for the same.

thanks in advance!!!

Hey @Sanket_Shinde1,

Add a check like Element Exists / Application State at the start of Process Transaction, and if the app is not open then run Open Application, otherwise continue. This way the app stays open for all successful scenarios and only reopens if closed after retries.

Hope this will resolve your concern

But I am passing the browser variable in from initialization state
Once system exception occurs after 3 retries it closes the application

in process state open application uses browser variable so it will get failed because browser variable is blank not able to open appliation on that same tab

Hey @Sanket_Shinde1,

In Init All Applications use an If condition to check whether the browser variable is Nothing.
If browserVar Is Nothing → use Open Browser / Use Application to launch your app and assign it back to browserVar.
Else → do nothing and continue with the same browser instance.

Thank you so much for the solution
let me check and get back to you soon!!!

Yes please let me know if there any more issues

1 Like

@Sanket_Shinde1,

Does the solution works? If yes then please mark as solution

I have not check yet, working on another task will do it soon
Thanks !!!

1 Like

@Sanket_Shinde1,

It’s inbuilt logic provided by reframework. Just change the value of MaxRetryNumber in config file to the desired number of retries and it should retry the failed data row.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.