Retry Scope, Try Catch Precedence

Hi all,

This is trivial (again), but i’ll ask anyway.

What should be the order in using retry scope and try catch block?

1 Like

Hi @avlavarias

first create a try catch activity within catch block use retry scope

Thanks
Ashwin S

Hi
It’s purely based on the process and the application involved buddy
Like
—keep the RETRY SCOPE inside the TRY block of TRY CATCH activity and if any of the activity inside the RETRY SCOPE if fails (either from DO apart or in CONDITION part) it will be caught by the CATCH block

Structure :

TRY
—Retry Scope Do Part
—Retry Scope Condition part
CATCH

—Keep the activities inside the DO part alone of RETRY SCOPE within TRY block of TRY CATCH activity
So that if any activity inside the Do part of RETRY scope alone fails it will be caught by CATCH block

But on doing this if the condition part of Retry Scope if fails it won’t be caught as we haven’t included that in Try Catch activity

Structure :

Retry Scope
— Try block
— Retry scope Do part
— Catch
Retry scope condition part

Cheers @avlavarias

4 Likes

Hi @Palaniyappan

buddy can we give retry scope activity inside catch block?

Thanks
Ashwin S

Well if we go by the first choice as mentioned in the previous comment
And if the RETRY SCOPE fails at any point will be carried forward to Catch block where we can stop the process either or we can re do the same RETRY SCOPE activity if we want,
So it can be included based on the need or process

Cheers @AshwinS2

1 Like

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