Implementing scheduler job to check document due date
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.
The scheduled job needs to be applied to a set of nodes determined by a query and the job implementation to be in the form of Repository action.
Precisely the Steps:
a) Start off with a repository action class b) Get the noderef which will contain a node that is part of a result from a query set up in a Spring bean . c) Define the spring bean referring to the action class created in step (a)
d) Then you will need to write a cron job along with cron expression for when to run the scheduled job.