07-19-2020 11:42 PM
What is the best way to put expiration data in documents and notify by email when the document is expired?
07-20-2020 04:09 AM
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.
07-21-2020 02:49 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.