AnsweredAssumed Answered

Keep only n versions of document in alfresco

Question asked by bwilliams on Apr 5, 2017
Latest reply on Apr 5, 2017 by janv

I do not have a need to keep every version of my documents. I would like to limit Alfresco to only saving the last 4 versions of any file. Then completely remove the old files from the system.

 

I found Keep only n versions of document post but it seems that the AMP Release Alfresco Max Version Policy 0.0.9 · jottley/alfresco-maxversion-policy · GitHub  has not been updated for Alfresco 5.2.e. I don't want to repackage the AMP as some of the comments talk about and run into unexpected problems in the future.

 

Is there a way to implement this or maybe just a simple script that I can run against the whole database on a frequency that will remove the extra versions?

Outcomes