We have a flow which is triggered on submission of a Microsoft Form (When a new response is submitted). We want to set up Environment Variables so that e.g. the dev flow references the dev form, the test flow references the test form and the production flow references the production form.
I have set up an Environment Variable with no default value and a current value in the dev environment.
In the flow, if I go to a later action related to the form, I can remove the hard-coded form id value and choose 'enter custom value'. I now get the list of available Environment Variables come up and I can choose the one I set up.
However, when I delete the hard-coded form id value in the trigger, and click 'enter custom value', I get no list of Environment Variables. Just a sad sorry empty field.
The documentation here says that Environment Variables can be used in triggers, but this isn't happening for me. Does anyone have any insight please?
Trigger - not able to select environment variable
Action within Apply to Each - Environment Variable selected
Solved! Go to Solution.
Hello @DynAB
When entering a custom value into the trigger, type this:
@parameters('MSFormsParam')
Proud to be a Flownaut!
Hello @DynAB
When entering a custom value into the trigger, type this:
@parameters('MSFormsParam')
Proud to be a Flownaut!
Thank you vey much - much appreciated!
Hello @Jcook
I have just tried to write as you said, in the trigger @parameters('my_env_var') but the flow is not being triggered actually. Taking the responses I use the variable without problems. Am I missing something?
If I write the form id it works perfectly.
Thanks in advance for your help
I can confirm that environment variables are not supported yet for MS Forms trigger:
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
71 | |
49 | |
41 | |
30 |
User | Count |
---|---|
266 | |
121 | |
94 | |
90 | |
81 |