Zoho Deluge Help - Search Records on custom field value
I have created a function that searches for tasks on Zoho Desk based on a custom field. When executing the code, it fails with the following:
{"errorCode":"UNPROCESSABLE_ENTITY","message":"Extra query parameter 'cf_ticket_scheduled_date' is present in the input."}
I have searched the forums for this, and the code itself seems to be correct, but is throwing an error for the custom field. The code is below:
todayDate = today;
info todayDate;
queryValue = Map();
queryValue.put("cf_ticket_scheduled_date", todayDate);
info queryValue;
getAllTasks = zoho.desk.searchRecords(orgId.toLong(),"tasks",queryValue,1,100,"zohodesk");
info getAllTasks;
if(!getAllTasks.isEmpty())
{
//do some more logic later
}
Any assistance on where I'm going wrong on this would be muchly appreciated.
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.