cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Move SharePoint file based on column property

Hi,

 

I am looking to create a flow that can move a file within a document library based on which column property is selected.  There is a column which has 5 options and one of the options is to Archive.  If Archive is selected for this file, I want to move it to the Archive folder.  The file needs to keep it's version history.  I did quite a bit of searching and have not been able to find a solution.

Thanks!
b

2 REPLIES 2
Highlighted
Responsive Resident
Responsive Resident

Re: Move SharePoint file based on column property

Have you created a flow and it's not working properly?  

 

You should be able to start with a sharepoint trigger, 'When a file is created or modified (properties only)' set to your main document folder.  Then create a Condition, "if choice column value = archive" -> move file.  It will retain the version history so long as you move it (not copy).  

 

Let me know if that makes sense.

Highlighted
Frequent Visitor

Re: Move SharePoint file based on column property

Hi @blopspro 

To do that I am using a scheduled flow where I use Get files (Properties Only)and filter query on the value which I want same as below screenshot. in my case I am using the values in two columns:
The first column: Checked_Out = 1 
The second column: PO = 1 


Capture.PNG
If I answered your question please accept my solution.

Regards,

 

Shadi

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (12,450)