Retry Scope for Timeout Error

Hi

Hope the below steps helps you resolve this

—use a assign activity like this

bool_response = True

Where bool_response is a variable of type Boolean

—now use a WHILE LOOP activity where mention the condition as

bool_response = TRUE

—now this condition is currently true so it will enter the loop

—inside the loop use a HTTP REQUEST activity and in that activity get the output of StatusCode which is of integer type named int_code

If your http request is successful then it will return 200 as output

So In that case once after http request inside the while loop use a IF activity with condition like this

int_code.ToString.Contains(“200”)

If true it will go to Then Part where use a assign activity like this

bool_response = FALSE

at one point if the above Boolean gets false it will get out of while loop and proceeds further

Cheers @Shinjid

1 Like