Calling Web-hook in a Microsoft flow with multiple instances
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.