1

Here is my LogicApp:

App

It is calling API which launches process running for 10 minutes, returns 202 and returns location header for status checks and when is done it returns 200. I have asynchronous pattern enabled and time limit set to PT2H in this Logic app. So I expect it to run for about 10 minutes periodically checking status until 200 is received or time out. However, in overview tab this app shows successful run with duration of 1.09 seconds.

This is a bit counterintuitive. What am I missing?

To check the setup, I updated my API to return status 400 upon completion and my LogicApp is supposed to send email in case of error or time out. API ran fine and returned 400 status, but I did not get an e-mail, so I do nothing polling is happening correct. Any thoughts?

user1700890
  • 7,144
  • 18
  • 87
  • 183

1 Answers1

1

I do repro in my lab after creating a ISE for logic app by using as follows with duration of 5 mins. And after 5 min. received mail as well.

Going to Logic App designer and created with Recurrence Core. enter image description here

Added scheduler> Delay for the time to hold for http core in delay section as follows: enter image description here

enter image description here

Then added HTTP core> settings> Asynchronus pattern ON and Timeout set as below: enter image description here

And set same setting for the send email as well from the setting. ![enter image description here]5

And after that we can save it and run the Logic app . Then We can check the overview as per delay time which i set earlier: enter image description here

For further information please refer the How Long will aLogic App Continue to check a HTTP 202 Accepted Response and the Doc.

AjayKumarGhose
  • 4,257
  • 2
  • 4
  • 15