cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
frixel
Level: Powered On

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 Team
Community Support Team

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.
frixel
Level: Powered On

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.

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 314 members 3,333 guests
Please welcome our newest community members: