I have a website developed using ASP.NET Core 5.0. I would like to implement Approve / Reject approval workflow from the website at a point in the application. So created an Azure Logic App as shown in the below screenshot which can be invoked from the website. The three steps in logic app are:
Logic App Steps
The logic app sends a message to the user in Microsoft Teams and captures the user's response, either Approve or Reject successfully. But this is all synchronous i.e. the logic app is waiting until the user is responded.
If the user takes two days to respond to the message in Teams to Approve or Reject, my code calling the logic app has to wait for two days too which is not desirable.
Is there any way to implement this functionality asynchronously?
Your help is very much appreciated.
Can you please explain, why your ASP.NET application needs to wait for 2 days? HTTP Post returns 200 accepted status and kicks off the flow. Calling Application does not need to wait. I have the same exact Solution implemented and it works absolutely fine. I am invoking an HTTP call and Flow is kicked off. An application HTTP request is fulfilled as Flow returns 200 Accepted status.
Michael E. Gernaey
66
Super User 2025 Season 1
stampcoin
61
rzaneti
31
Super User 2025 Season 1