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 / Get the oldest item an...
Power Automate
Unanswered

Get the oldest item and update it at Sharepoint every time a new is included

(0) ShareShare
ReportReport
Posted on by 220

Hello friends!

 

I have a Sharepoint list with more than 5.000 itens, and another one with an Infopath form that I connect with the Id from the first.

 

Six months ago I started to clean the first list, because the second cannot work with more than 5.000 itens.

 

Now, I wanna make it automactly, starting a flow that goes to the oldest item at the first list and update it, every time a new one is included at the second list. Doing this, I have another flow that excludes this oldest item.

 

Has anyone with some idea about it?

 

Thank you so much.

 

Regards,

 

Robson.

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @rgparisoto,

     

    This should be available.

    Under Microsoft Flow, to update an Item wihtin a SharePoint list, the Site Address, List name and the corresponding Item ID is required.

    If the corresponding Item ID is available and fixed, then we could just add an Update item action after the New item creation trigger from the Second list.

    71.PNG

     

    The Id in the Update item action is the value from the value from ID column from the SharePoint list, please enter the Oldest item ID within this field, then update the proper field as required.

    Regards,

    Michael

     

  • rgparisoto Profile Picture
    220 on at

    Hi Michael! 

     

    Thanks for your help.

     

    When you reffer to put the Id from the first list, can it be variable? Because, if It it fixed, when a second item is created at a list2, the flow will not find the Id 1, because it was deleted.

     

    I want to put this number one as the smaller number in that Sharepoint list, and of course, I only know if I look, and I want to automate it.

     

    Please, if I don't express myself correctly tell me.

     

    Thank you again.

     

    Regards, 

     

    Robson.

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 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard