What is the best way to put expiration data in documents and notify by email when the document is expired?
To put an Expiration Data you have two main ways:
To notify by email you have to develop something external: I usually do a program (Java, C#, ....) that uses the CMIS REST Api (https://docs.alfresco.com/community/pra/1/topics/cmis-welcome.html) to quey the repository and then create the desired emails.
Hope this helps.
Leonardo.
Hi:
You can use cm:effectivity aspect that:
- Optionally, with a custom behaviour on creating nodes, you may apply some automatic expiration date, for example 1 month. I said optionally because you can always set aspect on demand in Share, and to define the corresponding expiration date on cm:to property.
- with a custom quartz job you may check daily, for example, expired documents for cm:to property, and then to send an email to creator or a group of users.
Kind regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.