Issue with Zoho CRM DELUGE Search – No Results Returned
Hi,
I’m trying to run the following code, but it returns nothing. I have 4 records where the Next_Date field has the value "OK".
I tried changing the date format to different types, like "2025-01-01", but I still get no results.
Can you help me understand what’s going wrong?
Here is my code:
- query = "Next_Date:less_than:" + "2025-04-04";//today ;
- info query;
- contact = zoho.crm.searchRecords("Obligations",query);
- api_domain = "https://www.zohoapis.com";
- url = api_domain+"/crm/v7/Obligations/search?criteria="+encodeUrl(query);
- info url;
- res = invokeurl
- [
- url: url
- type: GET
- connection:"crm"
- ];
- info "res: " + res;
- return res;
- }