Deluge custom script - set reminder for task

Deluge custom script - set reminder for task

Hello,

I would like to create a Task and set a reminder, unfortunately the doc does not help me. It only says that the optional field "reminder" is of type "JSONArray", I couldn't find further explanations regarding the syntax, the structure, the required information or anything else (see screenshot).


Can someone explain me how to create the task with reminder in deluge?

  1. XXXXX anonymized code XXXXX
  2. ...
  3. tMap.put("reminder",{"Remind_At":{"ALARM":"FREQ=NONE;ACTION=POPUP;TRIGGER=DATE-TIME:" + dueDateConverted}});
  4. response = zoho.desk.create(orgId,"Tasks",tMap);