Loging of retry in the activity

Hello
how i can see if the but trigger the retry


i dont want to use try catch i want to extract it from the activates its self!

BR/Hazem

@Hazem_Saleh

There is no option that you can track whether it is retrying or not.

if you want any logs like that you can use retry activity and try catch

Hi @Hazem_Saleh

Activity does not retry itself unless nested within retry scope or do while loop.

Please explain your requirement in detail so we can suggest an alternate solution for same.

Regards
Sonali

Thanks for answering ,
but this will not help if it retry 1 time then ok i cant capture it.

Hi,
it has the option of retry as Verify execution !


im trying to capture it even if its happens only once!

@Hazem_Saleh

In retry you can mention how many retires you want to.

What is your trying for?

Hi @Hazem_Saleh

Oh got it. So you are trying to verify the execution of the activity.

So this retry works on basis of your expected outcome. For e.g. you are looking to type “Sonali” in a text box then after this activity is executed, results are verified whether outcome is achieved, if it is, then there wont be any retry else there will be a retry. But its inbuilt in the activity and I don’t think you can find out directly whether it was correct in first try itself or whether it had to retry few more times. But you may be able to track this by capturing the time it took to execute this particular activity and then taking out/dividing the timeout part to give you an idea on how many times it was retried.

But I would want to ask you why are you looking to find that out? what is the goal?

1 Like