SearchRecords with Variable in criteria

SearchRecords with Variable in criteria

Hello,

I'm trying to use a variable in my searchRecords Criteria, but is not working, how can I use this ?

I'm sending Email var for another URL external page and I created ID variable in my zoho creator application. Now I need to find a Lead using the email and get all lead records.

ID = " rico@gmail.com"; <--- URL VAR , I set this value to test.

Record = zoho.crm.searchRecords("Leads","Email:equals:" + ID);
RecordMap = Record.get(0);
LeadId = RecordMap.get("Name");



Thanks