web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Migration of http trig...
Power Automate
Unanswered

Migration of http trigger flow and its associated web resource JS

(0) ShareShare
ReportReport
Posted on by 69
Below find below the details of my requirement.
 
  1. 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)
VeeraVaishnavi_0-1621943990946.png

 

 
 
  1.  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.).
VeeraVaishnavi_1-1621943990954.png

 

 
Issue description - 
  1. 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. 
  2. 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.
Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @VeeraVaishnavi you can use environment variables to solve this issue, check this out:

     

    https://www.youtube.com/watch?v=BFGcXSAgawM

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • VeeraVaishnavi Profile Picture
    69 on at

    Thank you Jinivthakkar,

     

    We will try the option and update.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard