cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Flow to move files when modifid

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.
Post Prodigy
Post Prodigy

Re: Flow to move files when modifid

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.

Highlighted
Community Support
Community Support

Re: Flow to move files when modifid

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

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 (8,344)