Skip to main content
Question

How to delete Document Revisions and the associated Files automatically?


Forum|alt.badge.img+1

We are currently trying to delete all Document Revisions and the associated Document File which have the Document Revision Status “Obsolete”. 

 

Is there any way to delete these Revisions and Files automatically? 

 

Thanks for your help. 

5 replies

Thilini Kumarasinghe
Ultimate Hero (Employee)
Forum|alt.badge.img+21

If you want to do it from the application,

  • In Document Management\Document Revisions, you can query for obsolete documents.
  • Select all, RMB File operations > Delete document revision (if you want to delete the file only, then select RMB File operations > Delete document files).
  • However, you will be prompted with information messages, questions for each document revision most of the time, so again this will not be a complete automatic process

Another option is to use a data repair. The data repair should be written in a way you will have to delete the connection, then delete the file and document object.


Vernon Anderson
Sidekick (Employee)
Forum|alt.badge.img+8
Thilini Kumarasinghe wrote:

If you want to do it from the application,

  • In Document Management\Document Revisions, you can query for obsolete documents.
  • Select all, RMB File operations > Delete document revision (if you want to delete the file only, then select RMB File operations > Delete document files).
  • However, you will be prompted with information messages, questions for each document revision most of the time, so again this will not be a complete automatic process

Another option is to use a data repair. The data repair should be written in a way you will have to delete the connection, then delete the file and document object.

Is this feasible to create into a scheduled task based on the days since obsolete???

 

Thanks!


TimJoaojS
Sidekick (Partner)
Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 31 replies
  • November 15, 2022

The answer below can be useful:

BR,

Joao


Forum|alt.badge.img+8
  • Sidekick (Partner)
  • 43 replies
  • September 27, 2023

Hi @Mathias Dahl ,

 

i saw you mentioned about you scheduled a background job to delete obsolete document in docman from below post.

here you mentioned about ‘see above stetting we have for that’. can you kindly add image of that setting because i cannot see it that post.

Thank you

supuni

 


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2824 replies
  • September 27, 2023

I was referring to this:

"In the Document Basic data there is a tab named Document Default Values where you can change parameter settings to meet your needs. The parameter to determine how long to keep an obsolete document is called DAYS_EXPIRED"

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings