Conditional retrial in Logic APP

Baharul Islam 216 Reputation points
2022-04-11T10:20:13.55+00:00

Hi Experts ,

In Azure logic app we have default retrial mechanism in http call or other component call and Default retrial mechanism available with Azure will do retrial for all Transient error i.e. 500 status code.
However if target system is not handled with correct code or sometime there might need to filter on retrial some scenario based on error message rather then http code or maybe needs to only retry some type of errors out of 500 http code.

I came across https://ashiqf.com/tag/retry-after-failures-in-azure-logic-apps/ where its pretty much working for custom way of conditional error handling . Wanted to verify , if there is any other better way or out of box feature to handle this ?

Please suggest if have any other alternative way?

Thanks!

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,878 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,156 Reputation points
    2022-04-12T03:03:54.023+00:00

    @Baharul Islam Thanks for reaching out. Unfortunately, the HTTP connector is retry based on the status code as documented here. There is no configuration or out of box solution that can help you with your use case for retry based on the error messages rather than the status code.

    You need to handle this with your custom solution and Handle errors and exceptions in Azure Logic Apps document cover how you can leverage run after behavior while handling the error/exception in logic app. The third-party reference article that you have shared covers the same.

    Let me know if you have any queries or concerns.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful