Below find below the details of my requirement.
- We have a https trigger flow. The http url of the "HTTP POST URL" in the below screenshot varies/changes when we migrate the flow from one environment to another(e.g from DEV TO TEST environment)
- We have written a webresource JS and added to one of our tables' form. This JS will call the flow to perform an action when the form is saved/loaded. The screenshot is shown below: In screenshot, we can see that we pass http request URL ("HTTP POST URL" as mentioned in point 1) to the variable to invoke the flow and do the processing(In that JavaScript , we have provided HTTP trigger URL in static way.).
Issue description -
- When http trigger flow is migrated from one environment to another. The value of Http url gets changed. It required manual intervention to edit the url of flows in respective web resource JS added to table's form to call the correct flow.
- When the solution is moved as managed to a new environment. It becomes impossible to edit the url values in web resource JS as edit is not possible for managed solutions.
Requirement:
Could you please suggest a solution for above? If we move the solution as managed, how can we achieve in passing right url values in web resource JS to call respective flows to achieve desired functionality.
Kindly provide inputs.