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

Archive sharepoint items - Methodology, solution

(0) ShareShare
ReportReport
Posted on by

Hello!

 

Do you have any idea, solution for below?

 

I have a sharepoint list as database for my powerapp. I would like to create a flow what is count the items within the SP list and if it reaches the 400 pieces moves these 400 items to an another SP list and delete these 400 pieces items from the original one

 

Thank you

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    This is the basic structure of a flow to do what you are after.

     

    1) Get Items and specify to order by Created and limit to 400 items

    2) For each returned item, you will need to create it again in the new list

    3) Delete the returned item that was just recreated

    4) Rinse and repeat in the loop

     

    ericcheng_1-1632099249145.png

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

  • Community Power Platform Member Profile Picture
    on at

    Thank you! Forks like a charm! One additional question? How can I move the attachments as well? 

  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    In the loop and after the Create Item but before the Delete Item, use the below two actions

     

    Get Attachments - from old list item

     

    ericcheng_0-1632135970477.png

     

    Add attachments - to new list item

    ericcheng_1-1632136024177.png

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#3
David_MA Profile Picture

David_MA 270 Super User 2025 Season 2

Last 30 days Overall leaderboard