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.
Access your files securely from anywhere
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
-
-
-
-
-
-
-
-
-
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 Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.