11-12-2019 06:33 AM
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?
11-12-2019 07:02 AM
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...
12-18-2019 11:45 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.