Hello,
please, give me a hint, how I can set a reminder for a task I create in script?
I made the script which is used in workflow automation for creating a task.
It looks like
myFieldMap=map();
myFieldMap.put("Task Owner",input.AccountOwner);
myFieldMap.put("Subject","Hello");
myFieldMap.put("Description","Do it");
myFieldMap.put("SEMODULE",("Accounts"));
myFieldMap.put("SEID",input.AccountId);
myFieldMap.put("Send Notification Email",true);
myFieldMap.put("Due Date",input.MyDate.addDay(75));
myFieldMap.put("Reminder",input.MyDate.addDay(68));
//function to push data to CRM
response = zoho.crm.create("Tasks",myFieldMap);
It works perfect - task has been created
exept for Reminder -
this code does not work
myFieldMap.put("Reminder",input.MyDate.addDay(68));
Please, explain to me what the right way to program the task reminder?