cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
glometeeb
Level: Powered On

Cut and Paste List Items

I have a list of of Estimates that grows very large very fast.  I would like to create a flow that once I mark them as coplete with a check box it moves them into a entirely new list.  I understand I can just filter them out the problem is that this list is used in multple other places by lookups.  So just filtering will not solve the issue.

I have not found a place in sharepoint where I could select multiple rows and just move them to a diffrent list.  I still want all of the DATA to be exaclty the same.  Basically just a cut and paste.

3 REPLIES 3
Super User
Super User

Re: Cut and Paste List Items

Here is a way to approach your issue:

1) Use a recurrence trigger that fires periodically (Daily? weekly?)

2) Use a Get Items action with an OData filter that returns only items marked complete.  The OData filter would look something like this: Status eq 'Complete'

3) Loop though each item returned and create a new item in the destination list.

4) Delete the original list item

 

To delete the items in your detail list, go to list settings and click on the lookup column.  Check the "enforce relationship behavior" column and also check "cascade delete".  Doing so will allow for every item in the detail list to be deleted when the related entry is deleted.  Otherwise they will be orphans.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
glometeeb
Level: Powered On

Re: Cut and Paste List Items

Could you show a screenshot of Flow steps?

glometeeb
Level: Powered On

Re: Cut and Paste List Items

Could you show the flow via screenshots?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 82 members 3,792 guests
Please welcome our newest community members: