<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Expiration data in documents in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83270#M25495</link>
    <description>&lt;P&gt;What is the best way to put expiration data in documents and notify by email when the document is expired?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 03:42:38 GMT</pubDate>
    <dc:creator>eniosoeiro</dc:creator>
    <dc:date>2020-07-20T03:42:38Z</dc:date>
    <item>
      <title>Expiration data in documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83270#M25495</link>
      <description>&lt;P&gt;What is the best way to put expiration data in documents and notify by email when the document is expired?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 03:42:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83270#M25495</guid>
      <dc:creator>eniosoeiro</dc:creator>
      <dc:date>2020-07-20T03:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expiration data in documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83271#M25496</link>
      <description>&lt;P&gt;To put an Expiration Data you have two main ways:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The most reliable way is to make a Behaviour, IMHO, because it's always applied, no matter how you upload document (web, ftp, webdav, CMIS, ....). This must be implemented on backend, in Java, packaged and installed.&lt;/LI&gt;&lt;LI&gt;The fastest way is to make a folder rule (&lt;A href="https://docs.alfresco.com/community/concepts/library-folder-rules.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/concepts/library-folder-rules.html&lt;/A&gt;) that calls a Javascript (&lt;A href="https://docs.alfresco.com/community/concepts/API-JS-intro.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/concepts/API-JS-intro.html&lt;/A&gt;). This implies that you upload documents via Web interface (and maybe some other way, but I don't know for sure)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;To notify by email you have to develop something external: I usually do a program (Java, C#, ....) that uses the CMIS REST Api (&lt;A href="https://docs.alfresco.com/community/pra/1/topics/cmis-welcome.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/pra/1/topics/cmis-welcome.html&lt;/A&gt;) to quey the repository and then create the desired emails.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Leonardo.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 08:09:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83271#M25496</guid>
      <dc:creator>lmattioli1</dc:creator>
      <dc:date>2020-07-20T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expiration data in documents</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83272#M25497</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;You can use cm:effectivity aspect that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;- 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- 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.&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 06:49:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/expiration-data-in-documents/m-p/83272#M25497</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2020-07-21T06:49:34Z</dc:date>
    </item>
  </channel>
</rss>

