Trying to Query All Records in Module and Perform Update Hourly
I am trying to write a scheduled function to run hourly that will query all records in a custom module and write to a datetime field called "Todays Date". I am doing this to kick off a function within a Workflow since you can't set Workflows to run on a short schedule for some reason.
The following code is what I would like to occur but I cannot get it to work.
- temp = zoho.crm.searchRecords("CustomModule7","((Status:notequals:0))");
- for each record in temp
- {
- record.Todays_Date = zoho.currenttime;
- }