cancel
Showing results for 
Search instead for 
Did you mean: 

Auto delete older documents

mat34
Champ on-the-rise
Champ on-the-rise

Hello everybody

For security reasons I need to auto-delete older documents of a specific "Site".

What is the best way to do it? 

I found "scheduled job" documention but I'm not sure to well understand how to use it.

Thanks a lot

My version : Community 5.2.0

1 REPLY 1

cesarista
World-Class Innovator
World-Class Innovator

Hi:

From development point of view you may implement a daily custom scheduled action, that based on the effectivity aspect for example (or a custom date property), deletes the corresponding expired content. You can also develope a custom behaviour or content rule on a site for setting a default expiration date (e.x.: 1 year) when applying the cited aspect. 

You may take a look for this addon, it is more or less the same idea:

GitHub - Conexiam/alfresco-expirable-content: Facilitates flagging content for expiration. Includes ... 

Regards.

--C.