cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

Flow to move files when modifid

I use the flow below to move files that are renamed to another folder.

 

However, if there are 10 files in the folder, almost all of them will be renamed at the same time.

Flow then only moves the files that are the newest (original) date modified  and leaves the older files .

How can that be solved?

 

Flow1.png

3 REPLIES 3
Community Support
Community Support

Hi @frixel ,

 

I guess that the delay in Flow trigger time gives you an illusion.

The trigger you use is triggered whenever a file is changed in the specified folder. If you change a lot of files in a short time, Flow may not respond as quickly as you expect. It exists delay, but will eventually be triggered.

You could observe if the Flow run history has been executed a corresponding number of times.

 

Besides, please try to click on Settings, set Concurrency Control, add Degree of Parallelism, and see if Flow can react faster in a short time.

Image reference:

20.PNG19.PNG

 

Best Regards,

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

I tested it with the settings you suggested.
However, the older files still stay in the folder after renaming and only the newest files are moved.

Hi @frixel ,

 

You could change the method. Since this trigger does not apply to the scene you want, you could consider other methods.

If you want to move a file which name has changed to the expected value to another folder, you can use Recurrence or Button as the trigger.

Use List files in folder to get all the files in the specified folder, and then determine whether the file name contains the specified value.

If so, move the file to a different folder.

 

Best Regards,

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

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (75,341)