Deluge custom script - set reminder for task

Deluge custom script - set reminder for task


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);

            Zoho Marketing Automation

                      Zoho Pagesense Resources

                        Zoho SalesIQ Resources

                              Zoho TeamInbox Resources

                                Zoho DataPrep Resources

                                  Zoho CRM Plus Resources

                                    Zoho Books Resources

                                      Zoho Subscriptions Resources

                                        Zoho Desk Resources

                                          Zoho Projects Resources

                                            Zoho Sprints Resources

                                              Qntrl Resources

                                                Zoho Creator Resources

                                                  Zoho WorkDrive Resources

                                                    Zoho Campaigns Resources

                                                      Zoho CRM Resources

                                                            Design. Discuss. Deliver.

                                                            Create visually engaging stories with Zoho Show.

                                                            Get Started Now