Hi All
In Reframework is it possible to retry the failed step(activity) instead of retrying the entire transaction.
Please advise
Thanks in advance
Hi All
In Reframework is it possible to retry the failed step(activity) instead of retrying the entire transaction.
Please advise
Thanks in advance
I want to perform the background activity
What background activity you are doing?
Welcome back to uipath community
usuallly whenever we want to repeat the failed steps again
there are 2 activities to do that
TRY CATCH activity
RETRY SCOPE
If you are having a activity which may or may not fail at times. Considering such situation you can surround that activity with TRY CATCH activity
–that is include that activity or even a sequence of activity in TRY Block
–select System.Exception in Exception type so that it will cover all types of exception/failures
–if any of the activity in try block fails it will go to CATCH Block where we can place the same activity or same sequence of activity so that it will repeat the same steps
https://docs.uipath.com/activities/docs/try-catch
RETRY SCOPE can be used if you want to retry the same steps multiple times
we can configure the number of times we want to repeat that activity
Simply place the activity in ACTION Block and if you have any conditions mention that in condition block using ELEMENT EXISTS ACTIVITY or IMAGE EXISTS activity
https://docs.uipath.com/activities/docs/retry-scope
Cheers @Newton_Rich_SV
@Palaniyappan Hi Palaniyappan,
I am facing one problem related to this topic only. How can I retry the failed transaction later (say after 2 hours) after all the transactions got processed. I am using datarow as a transaction item in my Framework.
Let say there are 45 rows and out of 45 rows 3 transactions got failed. these 3 can be any row (assume 5th, 16th, 39th row ). I want to retry the failed transactions again in the end.
How can I incorporate this?
Please help me.