cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gazzo1967 Continued Contributor
Continued Contributor

Compose Switch to update a dropdown value

Hi All

I am creating a flow that will update sharepoint list based on user profile department change

The issue i have is that i need to also update another dropdown field which is not in the user profile.

The dropdown field is 6 values

 

Each of these 6 values has a group of departments allocated to them.

What i would like is

IF department equals department 1,2,3  then dropdown value one
Or IF department equals 4,5,6 then dropdown value two

Or IF department equals 7,8,9 then dropdown value three

Or IF department equals 10,11,12 then dropdown value four

 

upto 6 values

 

If this can't be done with change the dropdown values can i update a text field instead?

 

Thanks Gary

 

ased on the user profile.

 

1 ACCEPTED SOLUTION

Accepted Solutions
gazzo1967 Continued Contributor
Continued Contributor

Re: Compose Switch to update a dropdown value

Hi all

After a bit of trial and error i have found a way to update a dropdown (choice) field in a sharepont list based on another field update.

It is quite a lot to do so i will do my best!

For my needs i created a scheduled flow that checked a users department field in my list as people move departments agains the user profile and updated if necessary but i needed a dropdown (choice) field with relevant information updated too.

 

Hopefully these images explain it enough to help you!

 

Picture1.pngfig 1Picture2.pngfig 2Picture3.pngfig 3

 

Regards Gary

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Compose Switch to update a dropdown value

@gazzo1967 yiu can't change a dropdown but you can update the items in the SharePoint list using the Update item action.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

gazzo1967 Continued Contributor
Continued Contributor

Re: Compose Switch to update a dropdown value

@RobElliott 

Hi Rob Thanks for responding

I have already created a flow that does the update item against a check of User Profile which works fine

if i cant update the dropdown value can i not then populate a text field with a value based on my switch request?

Gary

Super User
Super User

Re: Compose Switch to update a dropdown value

Yes, as in my previous post, an Update item action is what you need to populate a text field in your SharePoint list.

Rob
Los Gallardos

gazzo1967 Continued Contributor
Continued Contributor

Re: Compose Switch to update a dropdown value

Hi all

After a bit of trial and error i have found a way to update a dropdown (choice) field in a sharepont list based on another field update.

It is quite a lot to do so i will do my best!

For my needs i created a scheduled flow that checked a users department field in my list as people move departments agains the user profile and updated if necessary but i needed a dropdown (choice) field with relevant information updated too.

 

Hopefully these images explain it enough to help you!

 

Picture1.pngfig 1Picture2.pngfig 2Picture3.pngfig 3

 

Regards Gary

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,855)