Home > Net >  How to enable Fire and Forget/Asynchronous pattern on Logic App Response Action?
How to enable Fire and Forget/Asynchronous pattern on Logic App Response Action?

Time:09-30

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 job status successful)?

Thanks

CodePudding user response:

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

HTTP_Response

HTTP_Response_Setting

Hope this helps.

CodePudding user response:

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.

  • Related