Delete minor versions

  • 10 March 2016
  • 2 replies
  • 12 views

Badge +7

All,

We are starting to work on our retention policy and wanted to check to see if anyone knows if nintex can do the following:

  • Delete minor versions of a document 90 days from modified date (the modified date of that particular version)
    • ex. 0.1 modified date 3/1/16 (gets deleted on 6/1/16)
    • 0.2 modified date 3/9/2016 (gets deleted on 6/9/16)
  • Major Versions delete in 7 years from modified date (of that particular version)

Can anyone provide suggestions on how to accomplish this and if it's even possible?

Thank you sooo much!


2 replies

Badge +11

Hi,

the Versions.asmx web service from SharePoint provides a GetVersions and a DeleteVersions Method. This is the only customization-free way of doing this that I can imagine.

You will find a reference for these two methods here:

https://msdn.microsoft.com/de-de/library/office/websvcversions.versions.getversions.aspx

https://msdn.microsoft.com/de-de/library/office/websvcversions.versions.deleteversion.aspx

And i found this blog post that uses these two methods in a Nintex workflow:

Remove Versions in Wiki pages libraries using web service

Maybe it helps you.

Regards

Philipp

Badge +7

Hi Philipp,

Thank you very much. I am going to look at what you provided and will give you an update. Thank you for all your help!!

Reply