Hi all,
This is trivial (again), but i’ll ask anyway.
What should be the order in using retry scope and try catch block?
Hi all,
This is trivial (again), but i’ll ask anyway.
What should be the order in using retry scope and try catch block?
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
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
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.