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 / Archive SharePoint ite...
Power Automate
Answered

Archive SharePoint items when column contains multiple select values

(0) ShareShare
ReportReport
Posted on by 19

Hi,

 

I am experiencing an issue with creating a flow to archive SharePoint library items.

 

I am currently using an oData query to find items older than 6months. Once the flow retrieves items, a new entry is made in the archive list and the original item deleted.

 

The original list contains a column that is a multi-select choice. This is causing some issues. I have attempted to use Initialize Variable with array but am having difficulties still.

 

Can you please assist?

 

Thanks in advanced!

 

Tbhutch_0-1698717136027.png

 

Categories:
  • Verified answer
    Rhiassuring Profile Picture
    8,692 Moderator on at

    If you look at the highlighted field, you'll see a little icon with a "T" on the right hand side. Click it. It turns into a field that will accept an array. (Apologies if you've tried this - you mentioned that you tried initializing the array variable, but it wasn't clear if you knew to click the T icon to insert it.) 

  • TBHutch Profile Picture
    19 on at

    When trying this it returned an error when running a test.

     

    Error: Action 'Create_item' failed

    Error Details: The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: The API operation does not allow writing a value for parameter 'item/Persontype[0]/Id'. This parameter is read only.

    OpenApiOperationParameterValidationFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: The API operation does not allow writing a value for parameter 'item/Persontype[0]/Id'. This parameter is read only.

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Are you able to show what you're putting into the field?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard