I have a drop down being used in my power app. This is being correctly stored and the data is shown tested by a label also the value storing.
However when running the flow it displays the value as "Yes"
This value yes isnt in the list stored and it is preventing my next switch action to not run successfully.
Is there a way to correct it so the value is being passed through as it should to be stored in the varriable?
How do you pass this variable to your Flow ?
What you need to do to achieve what you want is :
- Create a Flow with PowerApps trigger
- in your Flow, on your Switch condition, use a"Ask in PowerApps" value
This value will become a Flow parameter.
- in PowerApps, start your Flow with the parameter :
Thanks for the message, I have already tired this way with datacard.selected.value and it doesnt appear to bring the value through. only as yes not the value that is suppose to be stored. i.e data science
This is a strange behavior, I'll try to reproduce.
Have you tried using direction the Ask in PowerApps parameter in the switch, without using flow variable ?
Do you want to pass the Drop down value (COP Groups Drop down) from your app to a flow?
I found that you have post similar issue within this forum, please check my response within the following thread:
I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
The flow works successfully as below:
Please check if you have provided proper value for corresponding arguments within the 'PowerAppsbutton-2'.Run() function.
The order of arguments within the 'PowerAppsbutton-2'.Run() function is the same as that defined within your flow, so please make sure that you have provided proper value for corresponding arguments within the 'PowerAppsbutton-2'.Run() function.
In addition, you could also consider take a try to re-create your flow, and only define one variable within your flow, then pass the COPGroups Dropdown value from your app the flow, check if the correct value is passed.
Note: When you add a "Initialize variable" action within your flow, you could consider rename it firstly, and then type the "Ask in PowerApps" dynamic content within the Value field of this action, to make the arguments has unique name.
Thanks for your reply.
I have tried your suggestion from a new flow and declared all varriables and has seemed to work perfectly.
Some reason in my old flow as i was editing/updating it, the suggested variables wern't coming through sucessfuly as your third screen shot.
When creating the varriables in flow, then updating the expression in power apps. How do you edit again the flow variables? As I tried to go back into flow and update a varriable however it had to re-create the flow. Is there an easier way?
Also based on a radio button in the flow I am using this for a conditional statement yes/no. In the flow this will be using the requestfield. Which is being logged by a varriable previously. In the conditional statement requestfield how do you store the true/false to go down the yes/no path?
What is the error message ?
Make sure your giving your Flow.Run() function the exact number of arguments it is expecting.
You can see which arguments in which order when typing your formula and looking at the tooltip that pop's out like this