How to programmatically set a reminder schedule for a Task on the date specified in "Due_Date" field?
I want to programmatically set up the reminder schedule for a Task that sends out an email reminder on the date specified in the "Due_Date" field. I've looked at the Zoho CRM Insert Record API and it looks like the TRIGGER key for "Remind_At" field requires the date and time to be in ISO8601 format. I have formatted the "due_date" field to be in this format, but what is the correct syntax to insert this information? I got an error in executing the following code snippet below.
Here's my code snippet:
newStartDate = phaseShiftStartDate.toDateTime("yyyy-MM-dd'T'HH:mm:ss'+00:00'").toString("yyyy-MM-dd'T'HH:mm:ss'+02:00'");
taskEventMap = {"Subject":"Robotic Process Automation (RPA) - Update Phase for Account " + accountId,"Due_Date":phaseShiftStartDate,"Remind_At":{"ALARM":"ACTION=EMAIL;TRIGGER=${newStartDate}}};
response = zoho.crm.createRecord("Tasks",taskEventMap);
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Kaizen #152 - Client Script Support for the new Canvas Record Forms
Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved
Extension pointers for integrating Zoho CRM with Zoho products #8: Upload and manage Zoho Workdrive folders and files from within Zoho CRM
Keeping records on your customers and business prospects is essential for tracking data, conducting follow-ups, and running a business smoothly. When you use two separate applications, and store relevant data in each, checking and tracking data becomes
Kaizen #142: How to Navigate to Another Page in Zoho CRM using Client Script
Hello everyone! Welcome back to another exciting Kaizen post. In this post, let us see how you can you navigate to different Pages using Client Script. In this Kaizen post, Need to Navigate to different Pages Client Script ZDKs related to navigation A.
Extension pointers #13: Handle cases with personalized solutions using custom actions
In our last post, we detailed the steps involved in creating a custom action and the workflow from the developer and end user's side. Now let's look at a working example of how we can create a custom action and implement it in a Zoho CRM account to make
Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities. Additionally,
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.