Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Cannot use "update item action" to upate a list with columns which contains more than one value as those columns have just the last of those values after the update

(0) ShareShare
ReportReport
Posted on by 29

I dont know if im at the right place to share my problem. But anyways.

I have a SP List and i want to populate a certain column based on the value of another column. In my case those columns are Department and Department Head. The Department Head should be automatically populated, based on the the value in Department. I had builded a flow to do so, but there are new Porblems and i dont know how to handle them.

First of all: It is not possible to populate the Dep. Head via explicit rules of the SP List itself, because Dep. Heads are of Type "Person". My approach was to save the Heads in an Array and then to use a switch:

Case 1) Department = x -> Head = X, Case 2) Department = y -> Head = Y, Case 3) Department = z -> Head = Z. I managed to populate the Deparment Head column via an "update item" action. And here the problem appears. Its not possible to leave the field blank and only update the value of Dep. Head because most of the fields are mandatory. Otherwise if i use dynamic content to "overwrite" all the values with itself, Columns which contain more then one value are'nt updatet appropriate.

 

What i mean is, my list contains a column 'Author'. This column is allowed to contain multiple values. But if an Item has more then one value, the update action causes only the last of these values to appear in the updatet list. And as i mentioned above: i cant leave this field blank in the update action, as the author column is mandatory. Can anyone help?

  • BonCurry Profile Picture
    29 on at
    Re: Cannot use "update item action" to upate a list with columns which contains more than one value as those columns have just the last of those values after the update

    @ScottShearerthx for the quick reply. that was exactly what i was looking for!!

     

    Best greetings from Germany

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Cannot use "update item action" to upate a list with columns which contains more than one value as those columns have just the last of those values after the update

    @BonCurry 

    Take a look at this blog post as I believe that it will address your issue.

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow