cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Copy files from one library to another when a column status is changed

I am trying to build a flow that will be automatically triggered when one of the column status from a file been changed to "Complete".

Then, I want to copy that "Complete" file from it oringial document library to a new one which stores all the copies from completed files.

How can I do it? please help. Is this trigger avaliable in Microsoft Flow?

Thank you very much

 

Sincerely,

Eason

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Eason,

 

You could use "When a file is created or modified (properties only)" to trigger Flow.

I am not sure what type of "column status" is. I have made a test on my side. The type of Status column is the Choice type. Please take a try with the following workaround:

Image reference:

30.PNG

Please take a try.

 

Best Regards,

Barry

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

4 REPLIES 4
Community Support
Community Support

Hi @Eason,

 

You could use "When a file is created or modified (properties only)" to trigger Flow.

I am not sure what type of "column status" is. I have made a test on my side. The type of Status column is the Choice type. Please take a try with the following workaround:

Image reference:

30.PNG

Please take a try.

 

Best Regards,

Barry

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

Hi @v-bacao-msft,

 

I am using Choice type as well. I follow your step and build a flow, but I'm facing some new problems here:

1. When I changed the column status to "Complete", it triggered the flow. However, the system can't recognize either the column name or the column value and return as false instead.

copy file problem 1.PNGcopy file problem 2.PNGcopy file problem 3.PNG

My SharePoint site is built in a Chinese-language environment so I am having a Chinese column name. I am wondering that is it gonna cause problem for flow to recognize the column name?

2. Is it possible to copy a file from a folder when the file's column name been changed to "Complete and do no action to the rest of the file in that folder?

 

Many thanks,

Eason

Hi @Eason,

 

First question:

Since the type of your column is Choice, the value filled in the Condition should be the value of this column, such as Status Value, as below:

1.PNG

Second question:

You could select the specified folder when configuring Trigger by clicking on the folder icon on the right, as below:

2.PNG

 

Regards,

Barry

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.

Hi @v-bacao-msft,

 

Thank you so much for your reply. I tried out your steps and they all worked perfectly.

 

Many thanks & regards,

Eason

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (5,515)