As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.