0

I am calling an azure function from an Logic app using azure HTTP Webhook. this is the parameters used for the call : enter image description here

the azure function is lunched and finished working properly and it returns the results with 201 as code status. this is the output of the azure function: enter image description here

Normally the webhook have to finish his work after receiving the 200 code status from the azure function and go to the next step of the azure logic app, but this is not the case. In fact the logic app is stacked in the azure HTTP Webhook I don't know if this is due to the status code returned by the azure function or due to an other thing.

Any idea about the cause of this problem and how to solve it ?

el abed houssem
  • 350
  • 1
  • 7
  • 16

1 Answers1

0

In order for the flow to continue even after receiving a non 200 status code and not failing, explicitly enable run after configuration for Azure function action or any action that you have after http webbook activity.

Here is the configuration :

enter image description here

For more information please refer this Blog .

AjayKumarGhose
  • 4,257
  • 2
  • 4
  • 15
  • thank you @AjayKumarGhose-MT. I am trying to call a durable function using the http webhook, so ASA it receive the request it will return 202 status to the http webhook, than after finishing running, it will return the result associated to the 200 status to the http webhook. then logic app can continue working. So if I implement your solution , just after receiving the 202 status it will continue running which will raise an error in the next step. Also the http webhook is blocked in the "has timed out" which means in progress. the original post : stackoverflow.com/q/69499168/5674606 – el abed houssem Oct 14 '21 at 09:37