Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Updating/Renaming choices of a SP list column and the selected choices of the list items

Posted on by 191
Hey,
 
As you know, when you're renaming choices of a column of a SP List, it will not retroactively update the choices of existing items. In my case 
 
I am trying to build a flow that would update my items with the new name for the choices. In my case it is a multiple choice possibility and not all choices have been renamed.
 
Any idea/tips on how my flow should be looking like?
 
Cheers!
  • Expiscornovus Profile Picture
    Expiscornovus 30,623 on at
    Updating/Renaming choices of a SP list column and the selected choices of the list items
    You could use a Get Items with a Filter Query to check if the field contains this old value. After that you can loop through the results and use a Select action to retrieve the multiple choice field values in the From. In the Map you can combine the replace function with the item function. After that you can use the outputs in an update item action.

    Below is an example
     
    The list with the old values (Flow)
     
     
    The flow setup, which uses the replace function in the select action
    replace(item()['Value'], 'Flow', 'Power Automate')
     
     
     
    The test result
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard