cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chaitanyang
Frequent Visitor

Calling Web-hook in a Microsoft flow with multiple instances

Hi Team,

 

I have created an Automated flow which gets triggered whenever a record gets inserted into SQL DB and queiing a build build in azure Dev Ops , my requirement is to make the flow in sleep or kind of suspension mode until the build is compelted and i get the status and then depending on the status continue the flow process accordingly.

In order to achieve the suspension or sleep requirement we have used a WebHook action in the MS Flow. In the WebHook action step I am calligna  API which will take the CALLBACK URI from the WEB HOOK call and then check for the status of the build as soon as it recieves the status the API will POST the CALLBCAK URI such that the flow can be started again where it was in sleep or suspension mode.

We are able to acheive this but we are facing problem when there are multiple instances of flow running the call back URI coming to the API is same i..e if for run of the instance the call back uri is X for the second instance run of the flow also the CAllBackURI value coming to API is X only as a resul the POST back to the callback URI is not working as a result the flow is stilll in suspended or waiting state itself.


QUERY:
How to get different callbcakURIs passed from WEBHOOK in the micrsoft flow for multiple instaces of its execution?

 

Please let us know if you need more details on our query.

Thanks in Advance

Regards
-Chaitanya

1 REPLY 1
SamPo
Power Participant
Power Participant

Hi @chaitanyang 

 

Have you considered using Azure Webhooks to trigger your flow rather than the SQL inserted record?

 

See this link https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops

 

There are a number of code/build webhooks that might be relevant for you, from there you can directly call a flow once your code is pushed.

 

Hope this helps,

Sam

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,874)