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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Salesforce Mult...
Power Automate
Unanswered

Update Salesforce Multi-select Picklist Field to a BLANK ARRAY

(0) ShareShare
ReportReport
Posted on by 12

Hi all,

 

I have a flow connected to Salesforce that updates a multi-select picklist field (based on values entered into a multi-select field in a SharePoint list item). This flow works fine most of the time (I originally had issues getting it to work but solved it here), except for when I need to update the multi-select picklist field with an array with no values.

 

This might seem counterintuitive, but there are times when the Salesforce record field was originally populated with values, and later on, we need to take those values away and leave it as a blank/empty.

 

In my flow, I Initialize an array variable and append the values from the SharePoint item multi-select field. When I use the Update Salesforce Record action in my flow, I drop the Array variable in the field value. When the array has values it's fine. But when the array has no values, 

[]

 and the flow tries to update the SF record, it gives me an error. 

tinoac123_0-1606858116419.png


It's definitely the array that is giving me the error, and not any other field. I've also tried hardcoding the array in with what would be a blank value

[""]

 and it still gives me the same error.

 

I also can't leave the field blank because it would just leave the SF record field value as-is, and not update it to an empty value.

 

Any ideas?

Categories:
I have the same question (0)
  • AmadeusShannon Profile Picture
    2 on at

    Were you able to identify a solution to this. I'm experiencing the same issue (3 years later)? I've tried everything...no luck yet.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 881

#2
Valantis Profile Picture

Valantis 823

#3
Haque Profile Picture

Haque 485

Last 30 days Overall leaderboard