cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Versioning in Flow

I've successfully built an approval flow that will copy a file from one SharePoint library to another when the file is approved. The flow "replaces" any existing document with the new one if the names are the same. However, it will not register that new document as a new version in the destination document library. Is there a way to fix this so that there is active versioning in the destination library?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @jobiewan,

 

Unfortunately, the copied file's version will be reset as 1.0 and the version could not be edit, so you can not accumulate the version according to the original file.

 

If you use the Move file action, the version will not be reset.

 

Best Regards,

Community Support Team _ Lin Tu

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

5 REPLIES 5
Super User III
Super User III

@jobiewan 

I just ran a quick test and found that a new version was created when I created a new file with the same name.

Can you verify that versioning is turned on in the document library?

If versioning is turned on and you are still experiencing this issue, can you post a screen shot of your Flow?

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Versioning is turned on (major versions) in both libraries, and the file copies over just fine, but the version never changes unless I open the file within the destination library and change something there. But I'd like the copy file action to also create a new version.Flow.PNG

Hi @jobiewan,

 

I have tested on my side that when a file was created in a folder, copy it to a destination folder, and the copied file will be shown as version 1.0.

 

What's your issue is the version of the copied file isn't 1.0, right? Or you want to update your copied file each time Version will accumulate?

 

Best Regards,

Community Support Team _ Lin Tu

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

Exactly. I would like the versions in the destination folder to accumulate as well. 

Hi @jobiewan,

 

Unfortunately, the copied file's version will be reset as 1.0 and the version could not be edit, so you can not accumulate the version according to the original file.

 

If you use the Move file action, the version will not be reset.

 

Best Regards,

Community Support Team _ Lin Tu

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

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 (18,991)