Reputation: 1490
Under change limits I have count 8 and timeout as PT30M. The problem is that I would like to loop eight times and try that HTTP call until I receive status code 200. However, my loop breaks after the first call if the HTTP request received 400. What should I add in the loop to make it work?
Upvotes: 1
Views: 1023
Reputation: 6816
You can initialize a variable that stores the status code.
Then use the Set variable
in the Until
action to assign the status code returned by the Http
action to the variable.
You need to configure configure run after to make your Azure logic app
still run after the Http
action fails.
Upvotes: 1