skip to Main Content

I have an Azure logic app that just calls an HTTP endpoint, I don’t want to wait for a response as this is triggering a long-running task.

But currently, it waits for the response and fails with a timeout error.

How can I fire and forget the endpoint ( and still have logic app status successful)?

enter image description here

Thanks

2

Answers


  1. You can make Logic App behavior Asynchronous or Fire and Forget by enabling Asynchronous Response setting on the Response action.

    Microsoft Documentation – Handle incoming or inbound HTTPS requests sent to workflows in Azure Logic Apps

    HTTP_Response

    HTTP_Response_Setting

    UPDATE 1

    By default, HTTP action is synchronous, you can enable Asynchronous request-response behavior if that’s supported.

    Synchronous HTTP request has timeout limit – HTTP request limits

    If the above is not helpful then you have to change your web app to respond faster or make it asynchronous

    Hope this helps.

    enter image description here

    Login or Signup to reply.
  2. You could use Event grid Trigger and webhook to get long running process response as below:

    enter image description here

    As event trigger has a retry policy

    Where it first waits for 10 sec response, then 30 sec then 1min until 24 hrs time and we can also set the retry policy too.

    Another way is to on asynchronous response to get 202 Response.

    Webhook Event Delivery.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search