Hello there
I have a custom doctype with a date field and a status field, and I need to make a server script that runs daily and changes the status of all documents of that doctype based on their date field.
I know I have to make a server script with a type of “Scheduler Event” and a “Daily” frequency, but I have no idea how to get the documents and access their fields.
Can anyone help me with a simple example please?