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

Unable to MOVE document between two document libraries

I am implementing an archive library similar. We are currently facing an issue with the archive needing to have a column of type workflow status, we need to move the file and not copy it because we need to maintain the version history of the document. 

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How can I move the document to the archive library and maintain the version history?

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Jsharkey,

 

The error says Missing or mismatched field definition on the destination list for source field 'ITApprov' type 'WorkflowStatus', it means you need to create a column named 'ITApprov' type is WorkflowStatus to make sure moved file could achieve.

 

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

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @Jsharkey,

 

The error says Missing or mismatched field definition on the destination list for source field 'ITApprov' type 'WorkflowStatus', it means you need to create a column named 'ITApprov' type is WorkflowStatus to make sure moved file could achieve.

 

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.

 I cannot create this column type manually. There are many different libraries from which the file can be moved from, each having its own workflow status column. I just want to make sure the file and all the previous versions are copied to the archive folder. I don't need to move this column type.

Hi @Jsharkey,

 

If so, I am afraid that there is no way could do it, move file should make sure two SharePoint libraries all columns same. There is another way is copy file content and create a new file in the target library, but it won't keep previous versions.

 

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.

This is strange... moving the file using the SharePoint UI works flawlessly despite the two libraries having different column definitions. I don't understand why the flow does not have the same behavior.

I was lucky enough to not have a requirement for the Workflow Status Type Column. The flow works after you remove the column. 

Removing workflow status columns is another tedious task as they are of read-only type, but I was able to find a solution for that as well:

https://sharepoint.stackexchange.com/questions/283504/delete-a-read-only-column-from-a-list-library-...

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,877)