Setting Document Expiry with email notification

cancel
Showing results for 
Search instead for 
Did you mean: 
resegok
Active Member

Setting Document Expiry with email notification

i want to set expiry date dor my alfresco documents and also get an email notification when the expiry date is triggered. How do i achieve that? 

1 Reply
Moderator
Moderator

Re: Setting Document Expiry with email notification

You can create a scheduled job to run at certain time as per your requirement (e.g. daily, weekly, etc.) which will go through the documents and set the expiry date (a content model property ideally) based on the logic you want to apply. After setting the expiry date property, it will send email notification. You can customize your logic as you want. 

Here is documentation on scheduled jobs: 

https://docs.alfresco.com/6.1/references/dev-extension-points-scheduled-jobs.html

This post may also be helpful: https://hub.alfresco.com/t5/alfresco-content-services-blog/creating-scheduled-job-in-alfresco/ba-p/2...