I have created a Flow on “HTTP request received” and using JavaScript on button click I am passing this HTTP URL to trigger the flow.
In that JavaScript i have provided HTTP trigger URL in static way(suggest to retrieve it dynamically if possible).
But when I deployed in target environment the HTTP URL Got changed and I need to modify the URL in that JavaScript, but we don’t want to do unmanaged changes on our target environment.
Is there any way to construct that HTTP trigger URL in JavaScript?
or what I need to do to resolved this issue?