No records found

No records found

I want to track all employees who do not have records for a specific month. 

response = zoho.people.getRecords("Legal_Rest_Monthly_France",0,1,searchList);

When the search criteria is null it returns an empty map. I understood that I could use the "isEmpty" check to validate on this but it does not work and the script seems to end.


BoolVar = response.isEmpty();
Info "BoolVar: " + BoolVar;
BoolVar: false 
response:{"code":7024,"message":"No records found"}

Any help is welcome.