Mass update records with custom function
Hello,
I have question regarding usage of custom function to mass update records in CRM.Here is example of code and my question is: will this custom function update 1000 records at once and what is the limit for this type of usage of updateRecord function?
- iterator ={1,21,41,61,81,101,121,141,161,181,201,221,241,261,281,301,321,341,361,381,401,421,441,461,481,501,521,541,561,581,601,621,641,661,681,701,721,741,761,781,801,821,841,861,881,901,921,941,961,981,1001};
- for each i in iterator
- {
- leads_set = zoho.crm.getRecords("Leads",i , (i + 20));
- for each lead in leads_set
- {
- leadID=lead.get("LEADID");
- crmRsp = zoho.crm.updateRecord("Leads",input.leadID.toString(),{ "Number" : 5 });
- info crmRsp;
- }
- }