S-man
Scholar

Move a document from Library to library without overwriting the version history with Nintex Workflow

Jump to solution

I have a scenario where we store our documents in a 'Live' library for all to view. when a document needs updating the document is copied to an 'Update' library to be worked on by the document owner, leaving the original one in tack and still viewable in 'Live'. Once the document in 'Update' has been amended/changed and gone through an approval process, it needs to be moved back to the 'Live' library where the version history of the updated document is appended / added to the original document. As if you where uploading a new version to the 'Live' library. With Nintex workflow I can copy a document from one Library to another and using the Web Request feature I can Move a document and preserve the version history using Vadim Tabakman configuration. However when you move a document to a library that already has that same document, it overwrites it and the version history losing the original history. Is there any way to adjust Vadim code to not overwrite but to append the version history; in effect upload a document from one library to another so to add to the version history. Or is there another feature in Nintex that can achieve this. Any help will be very welcome.

0 Kudos
Reply
12 Replies
kchaluvadi
Contributor

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

Hi, Have you enabled version history on "Live" document library?

 

0 Kudos
Reply
S-man
Scholar

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution
Yes. both libraries are set to major and minor versioning turned on.
0 Kudos
Reply
S-man
Scholar

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

I know when you 'Copy' you create a new document, 'Move' will take the version history and overwrite any pre existing version. I suppose I am looking to 'Upload' a document which will add on to a pre existing version to build on the version history. The Question is can Nintex workflow automate an upload from one library to another with losing any pre existing version history??? 

0 Kudos
Reply
kunalpatel
Collaborator

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

@S-man or you can use Sharegate

0 Kudos
Reply
S-man
Scholar

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

Unfortunately no bells or whistle. I have to achieve this with standard SharePoint 2016 and Nintex. There must be away for Nintex to perform an 'Upload' and Add as a new version to existing files. This has been achieve through SPService/JavaScript code. Is there away to apply code to a Nintex Workflow to create a custom automation feature? 

0 Kudos
Reply
kchaluvadi
Contributor

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

Have you tried using SharePoint Upload File action?

0 Kudos
Reply
S-man
Scholar

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

Unfortunately I don't have that feature on my Nintex. I am working with SharePoint 2016 on premise and central admin is controlled by a 3rd party, so unable to get add on.

0 Kudos
Reply
kchaluvadi
Contributor

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution

Cann't the admin team to make it  "allow" that action?

0 Kudos
Reply
S-man
Scholar

Re: Move a document from Library to library without overwriting the version history with Nintex Work

Jump to solution
I have asked the question. Would they need to connect to the Nintex external platform in order to get extra features? or is it already built in and just requires a tick in the box etc.
0 Kudos
Reply