cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ProNewbie
Advocate II
Advocate II

Flow that copies file from sp site to sp site, keeps running without stopping.

Hello,

I have a very simple flow that gets triggered when a file is created or modified in a sharepoint document library,
then the flow copies the file in another document library,

with the same name,

but in another sp site,

which is in the same tenant..

The flow runs successfully but never stops, and keeps copying the file over and over,

this is the flow :

 

1.png

 

 

"Percorso cartella" literally means "Path folder"

 

1.png

 

1.png

 

 
1.png

 

the flow copies the file, it will be used also for multiple files at a time, at the moment I tested it with 1 and with 5 files at a time,

with the same results,

 

for more screenshot or info I'm here 🙂

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @ProNewbie,

 

Do you want to copy the single created file or copy files in the whole folder?

If copy a single file, you could refer to the following steps:

Screenshot 2020-12-21 145719.jpg

 

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

I'm trying to copy the single file in each run thanks,

I'll try your solution and will let you know how it goes.

hi, I tried the flow you suggested,

to simulate an high workload provided by multiple users uploading multiple files at the sime time,

I'm trying to upload 128 files (a black picture) in one document library,

with my flow, usually 3 to 6 runs were remaining stuck,

with these logic around 90/95 runs were stuck,

ProNewbie_0-1608540695937.png

 

not all of them get stuck in this part of the flow, it's just an example, they get stuck in every section of the flow.

EDIT : I'm tinkering with these options but they don't seem to do anything at all :

 

ProNewbie_0-1608545912694.png

I set Count to 90 and Internal to 20 seconds, but I get the same results,
I've set these options in all the sections of the flow.

 

v-litu-msft
Community Support
Community Support

Hi @ProNewbie

 

How about turning on the Concurrency Control?

It could make the Flow runs as many as possible at the same time, I think it could help the issue that too many files arrived to trigger the Flow to make the Flow stock:

Screenshot 2020-12-23 153738.jpg

 

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

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,766)