I have a flow that will have a switch case dependent on drop down value in power apps.
i.e Groups can data science or informtion management to choose from.
Based on the value selected the flow will complete a switch case and add the user into the group.
I have run my flow andt he value in the switch,( based on the varriable delcarled earlier) keeps skipping even if the selection equals the correct value
I have seen posts about the advance expression but how would this statement be written for a dropdown value.
In the run output can you check the value of your variable ( by opening the variabale setting just above the switch).
In my case below the choice field returs a strucutre and I needed to get the value of the choice rather than the choice itself.
I have looked at the varriable being logged value and it was blank from the drop down selected in the power app.
The varriable is setting the drop down to a string. Is that what yours is passing through?
In power apps the onselect value to pass through is PowerAppsbutton.Run(COPGroups.Selected.Value)
In my case I simulated a similar thing wihtout the PowerApps.
Within Powerapps you could now add a control next to the button and set this to COPGroups.Selected.Value
That wikl tell you the value of the data in Powerapps.
So imaghine that you have a gallery with data and the button is sending the current item across. Then try to have a text control and set this to Gallery1.Selected..... (in your case probably COPGroup.Selected.....)
That way you can see what you are sending to Flow.
I have created a new text box as you have suggested, calling it the name of COPGroups.Selected.Value
However the value didnt get passed through as your suggesting once you select an item from the drop down, it showed as blank
To pass through information of the dropdown is it correct as shown?
I have added the screen shots below.
This is indeed strange.
I created the same as you and my label field is being updated.
I set the Text value to Dropdown1.Selected.Value and all seems to be ok.
As this issue is a PowerApps rather than flow issue you might want to log it within the PowerApps community site ratherr than the flow one.
Can you try creating a new PowerApp and create a new dropdown and a new label and then test the same again.