web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating SharePoint Lo...
Power Automate
Unanswered

Updating SharePoint Lookup Column with multiple

(2) ShareShare
ReportReport
Posted on by

Hello all! 🙂

 

I am having an issue with getting Power Automate to update a SharePoint Lookup Column.

 

The Lookup column is not updating even though the flow is completing successfully.

 

The Lookup column is configured to allow multiple values and the data I am using from PowerApps pulls the ID number from the List the Lookup column is looking at.

 

The value pulled from PowerApps is the ID numbers seperated by semi-colons:

 

RawValues.png

 

I then use a compose to split the values by the semi-colon:

 

SplitValues.png

 

Then use a Select to create an array of the IDs

ArrayValues.png

 

Once it is in an array, I use that in the column within the Update Item (which works fine for everything else i.e. Single Line of Text, Multiple Lines of Text, Multiple Choice and DateTime.

UpdateItem.png

 

When the flow is finished running, I can see the input went in however, the output appears as blank? Any ideas?

UpdateItemInputOutput.png

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please try the following method. You should use int() function to change the type of id to an integer.

    75.PNG76.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Hello @v-bacao-msft 

     

    Works really well thanks! 

     

    Only have one issue - when there is no value from PowerApps I get the below error:

     

    "Unable to process template language expressions in action 'Append_to_array_variable' inputs at line '1' and column '2332': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'."

     

    Any way around this?

     

    Thanks

     

    Bradley

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    You could add Condition to check if the response from PowerApps is empty.

     

    Best Regards,

  • flowtestes Profile Picture
    4 on at

    hello 

    i did the same thing but doesnt work can you please help me in it 

  • psmith1117 Profile Picture
    26 on at

    What worked for me was using a string variable and using the concat function to create a string in the format of "#,#,"

     

    psmith1117_0-1618427372289.png

     

  • psmith1117 Profile Picture
    26 on at

    I checked further and this did not work. It allowed my flow to run successfully but the values were not saved.

  • raks Profile Picture
    on at

    Hi @psmith1117 ,

    Did you find a solution? Is it saving with your concat?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard