How do I delete a record from my custom module?
This is my code:
- attList = zoho.crm.getRecords("CustomModule3");
- for each myatt in attList
- {
- Record = map();
- //Delete the attendee
- attendeeId = myatt.get("CUSTOMMODULE3_ID");
- Record = { "module" : "CustomModule3", "id" : attendeeId };
- deleteResp = zoho.crm.invokeConnector("crm.delete", Record);
- }
I'm not getting a response and I dont understand what im doing wrong.