Project Description
Two workflows for SharePoint 2010 which will renumber the versions of an item depending on your needs.

Our document libraries are verion controlled and only allow readers to view the published versions. The downside to this is that when we have to fix a typo or correct a property on a published document the document has to be republished in order for viewers to see the corrections, which results in a new major version.

There have been a few times where I have wished that I could correct a property and save the change as the current version and avoid a new version. This workflow allows just that.

These workflows work by storing each version in memory, removing the item from the list (and putting it in the recycle bin), and then restoring the versions in sequential order. The safety net is that because the item is recycled you can undo the workflow by deleting the new item and then restoring the original.

ReSequence Versions Workflow
If you delete one or more versions from the version history you can run this workflow and the versions will be renumbered without gaps. For instance, a document with versions 1.0, 2.0, 4.0, and 6.0 would be resequenced so that the versions are changed to 1.0, 2.0, 3.0, and 4.0. Minor versions are retained if they exist and kept with their respective majors.

Reset Current Version
This workflow is more specific to a need we had. This workflow will keep version one and the current version, deleting all versions in between, and then reset the current version to 2. Minor versions are kept if they exist. This need arose when we reorganized some libraries and fixing mistakes. Our documents gained several versions and we wanted to essentially start over. This workflow could be easily changed to reset the current version to 1.

Last edited Dec 2, 2010 at 5:35 PM by c_manboy, version 8