cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Delete Previous Version based on List Item Field

I have a SharePoint list and each item is updated frequently by a flow that checks if it's status needed to be changed (based on today's date and expiration date).  I would like to delete previous versions based on either who modified them or which field was modified.  Any help would be appreciated!  Thank you 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

Unfortunately, there is currently no action in the SharePoint connector to delete the previous version of the item. I'm afraid we can't rely on the existing actions in Power Automate to achieve this requirement.

Please consider using SharePoint Rest API to fulfill your needs, please check online and see if it helps:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

Unfortunately, there is currently no action in the SharePoint connector to delete the previous version of the item. I'm afraid we can't rely on the existing actions in Power Automate to achieve this requirement.

Please consider using SharePoint Rest API to fulfill your needs, please check online and see if it helps:

https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,716)