cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Adamswe
Regular Visitor

Copy files from one Sharepoint folder to another based on filenamn - Recurrence

I am trying to set up a flow that copies files from one Sharepoint folder to another every 24 hours. My team handles images in two separate folders, one where they are categorized into 4-5 layers of subfolders, and one big master folder where all the images go. 

We are several people working these folders, updating and adding pictures every day. So my goal is that we should only add and update pictures in the folder with several subfolders, and then, let's say at midnight, the flow collects all the changed and new pictures and copies them to the so called "Master" folder.  The flow identifier should be the filename and containg "_BP" (code for productimage) and searching all the subfolders. 

Below is my try to get the flow working, but it always return false. Does anoyne know how to fix it?

Adamswe_0-1638261564696.png

 

Best regards,

Adam 

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

How many times is your 'Apply to each' being executed? 100? If so, you probably need to increment the top nr of results provided by 'Get files (properties only)
Great stuff here, please note 'Get files' does not support pagination
How to get more than 5000 items from SharePoint Online in Flow - Alex Tofan's blog

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
efialttes
Super User
Super User

How many times is your 'Apply to each' being executed? 100? If so, you probably need to increment the top nr of results provided by 'Get files (properties only)
Great stuff here, please note 'Get files' does not support pagination
How to get more than 5000 items from SharePoint Online in Flow - Alex Tofan's blog

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Adamswe
Regular Visitor

Thank you @efialttes , that quick fix made the flow work properly. turned on the pagination and the put the number of results to 5000. 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,277)