<?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 Implementing scheduler job to check document due date in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49585#M19109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to implement a scheduler which checks for the due date in the documents in Alfresco and send email when the due date is met. I have due date as a property set for the document. I don't know how to retrieve the properties of the document using java script. Can someone help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2018 09:27:01 GMT</pubDate>
    <dc:creator>rajiraji</dc:creator>
    <dc:date>2018-08-10T09:27:01Z</dc:date>
    <item>
      <title>Implementing scheduler job to check document due date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49585#M19109</link>
      <description>Hi,I need to implement a scheduler which checks for the due date in the documents in Alfresco and send email when the due date is met. I have due date as a property set for the document. I don't know how to retrieve the properties of the document using java script. Can someone help me on this.</description>
      <pubDate>Fri, 10 Aug 2018 09:27:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49585#M19109</guid>
      <dc:creator>rajiraji</dc:creator>
      <dc:date>2018-08-10T09:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing scheduler job to check document due date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49586#M19110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow the below documentation link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html" title="https://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html" rel="nofollow noopener noreferrer"&gt;Scheduled Jobs | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;scheduled job&amp;nbsp;needs to be applied to a set of nodes determined by a query and the job implementation to be in the form of &lt;STRONG&gt;Repository action&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Precisely the Steps:&lt;/P&gt;&lt;P&gt;a) Start off with a repository action&amp;nbsp;class&amp;nbsp;&lt;BR /&gt;b)&amp;nbsp;&amp;nbsp;Get the noderef which&amp;nbsp;will contain a node that is part of a result from a query set up in a Spring bean&amp;nbsp;.&lt;BR /&gt;c) Define the spring bean referring to the action class created in step (a)&lt;/P&gt;&lt;P&gt;d) Then you will need to write a cron job along with&amp;nbsp;cron expression for when to run the scheduled job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 21:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49586#M19110</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2018-08-10T21:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing scheduler job to check document due date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49587#M19111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the response.I  have implemented the cron job to  send a email&lt;/P&gt;&lt;P&gt;using JavaScript  in alfresco.I need how to retrieve the document&lt;/P&gt;&lt;P&gt;properties details using JavaScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rajalakshmi.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2018 08:56:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49587#M19111</guid>
      <dc:creator>rajiraji</dc:creator>
      <dc:date>2018-08-11T08:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing scheduler job to check document due date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49588#M19112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be the javascript api is not available for this case. It has limited number of apis and is a wrapper over the java api.&lt;/P&gt;&lt;P&gt;Check the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/concepts/API-JS-intro.html" title="https://docs.alfresco.com/5.2/concepts/API-JS-intro.html" rel="nofollow noopener noreferrer"&gt;JavaScript API | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if there is api for getting the properties of a node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the Public Java api is available for the same. You can configure the bean in your context file and refer this NodeService.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/references/dev-services-node.html" title="https://docs.alfresco.com/5.2/references/dev-services-node.html" rel="nofollow noopener noreferrer"&gt;NodeService | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On this page search for -&amp;nbsp;&lt;/P&gt;&lt;UL class="" style="color: #58595b; background-color: #ffffff; margin: 20px 0px;"&gt;&lt;LI class="" style="margin-bottom: 5px;"&gt;Getting aspects, children, properties, associations&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;You&amp;nbsp;can write webscript for&amp;nbsp;getting the document &amp;nbsp;details .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 16:42:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/implementing-scheduler-job-to-check-document-due-date/m-p/49588#M19112</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2018-08-13T16:42:56Z</dc:date>
    </item>
  </channel>
</rss>

