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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

MS flow HTTP request Link getting change from one environment to another.

(0) ShareShare
ReportReport
Posted on by 425

Hi all,
I have a ms flow to send an email notification, flow trigger is /When a HTTP request received/. And I am calling this ms flow on change of one field.
For that I am calling a Js on change of that field and through that Js I am calling the ms flow, so inside the js I am passing the ms flow url. But the problem is, when ms flow is moving from dev env to stage the url getting change every time.
Is there any way to get this link dynamically?.
I have the same question (0)
  • Teska.chawla Profile Picture
    156 on at
    Do one thing. Create environment variable for that link in all your environments. 
    And in JS function, retrieve the value from the environment variable. 
    It will help in not changing the JS every time you move your flows. 
    You just have to change the value of environment variable. That's it.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans