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? 

2 Replies
abhinavmishra14
Advanced

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...

 

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
resegok
Active Member

Re: Setting Document Expiry with email notification

Hi

i am not very familiar with Alfresco developmen and this is my first module. I have managed to create an all-in-one module of Alfresco using maven i dont have an idea where to put which code because there are a lot of folders. Kindly let me know which folders or files in which folders should i look into mostly to achieve the above