How to Retry the failed step In Reframework of failed transaction

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 @Newton_Rich_SV ,

You can use retry activity to retry particular step only.

image

I want to perform the background activity

What background activity you are doing?

Hi @Newton_Rich_SV

Welcome back to uipath community

usuallly whenever we want to repeat the failed steps again
there are 2 activities to do that

  1. TRY CATCH activity

  2. RETRY SCOPE

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

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