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
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.
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
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.
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.