Im trying to filter by lookup field in criteria:
criteria = 'r2l_r_id.display_value=='+ rID;
routeToLocation = zoho.creator.getRecords("company","module","module_report",criteria,1,200,"crm2creator");
{"code":3330,"message":"Invalid criteria specified - value doesn't exist in r2l_r_id fields dependency form routes"}
Note:
criteria = 'r2l_r_id.ID=='+ rID;
Getting the ID works, so the dot notation isnt the problem here.