zoho.crm.create task supports duplicate check
zoho.crm.create task which is a deluge wrapper for CRM's insertRecord API now supports duplicate check. Syntax
<CRM Response>=zoho.crm.create(<CRM Module Name>,<Field values>,<optional duplicateCheck);
where,
<CRM Response> is the map variable returned by CRM as response.
<CRM Module Name> is the name of the CRM module where the record should be added.
<Field values> is the map variable that holds the key,value pairs. The map key is the label name as specified in the CRM module and the map value is the field value as submitted in the ZC form.
< duplicateCheck> Set value as "1" to check the duplicate records and throw an error response or " 2 " to check the duplicate records, if exists, update the same. If the value is not specified, duplicate check will not be performed
Thanks
Yoge