cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gj84uw
Advocate III
Advocate III

Trigger flow when file is moved within the same library

Hi everyone

I have a SharePoint library with a number of folders.  I have a Flow setup that uses the When a file is created or modified (properties only) trigger, which sets metadata on uploaded documents using the folder path and this all works fine.

However, there may be times when a file is initially uploaded to the wrong folder but then moved to the correct folder later on.  When this happens my flow doesn't run and this seems to be because it doesn't recognise moving the file as a change?

My question is whether there's a way to trigger my flow when files are moved between folders in the library?  So far I haven't been able to find away but I was hoping someone may have come across a workaround for this.

Thanks in advance for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @gj84uw ,

 

I did the test on my side. It is exactly the same as what you described. If you move the file in the same library, Flow cannot be triggered.

I am afraid that Flow does not support such a feature.

 

As an alternative, perhaps you could use the following methods to achieve your needs.

Use Recurrence as the trigger to monitor whether there are new files generated in the specified library the day before, and then set the properties of these files according to your needs.

Like:

185.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.

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @gj84uw ,

 

I did the test on my side. It is exactly the same as what you described. If you move the file in the same library, Flow cannot be triggered.

I am afraid that Flow does not support such a feature.

 

As an alternative, perhaps you could use the following methods to achieve your needs.

Use Recurrence as the trigger to monitor whether there are new files generated in the specified library the day before, and then set the properties of these files according to your needs.

Like:

185.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.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,208)