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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

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