cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gazzo1967
Impactful Individual
Impactful Individual

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

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!

 

fig 1fig 1fig 2fig 2fig 3fig 3

 

Regards Gary

View solution in original post

4 REPLIES 4
RobElliott
Super User
Super User

@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.

@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

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

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!

 

fig 1fig 1fig 2fig 2fig 3fig 3

 

Regards Gary

Helpful resources

Top Solution Authors
Users online (4,029)