Problem by passing values in Zoho CRM through Flow custom function
I am trying to write a custom function which updates a field with a value in zoho CRM
I have written the below
- void Remove_Tags_GTP(int dealID)
- {
- getDeal = zoho.crm.getRecordById("Contacts_x_Products",dealID,"crm_sandbox_v2");
- contactId = getDeal.get("Contacts").get("id");
- updateContact = zoho.crm.updateRecord("Contacts",contactId.toLong(),{"Test_Tags":"Tag1"},"crm_sandbox_v2");
- }
But it returns me an error like
""Argument type mismatch - Found 'COLLECTION' but Expected '[MAP]' for the zoho.crm.updateRecord. at line number 8. Resolve the errors and try executing it again""
What is the problem? This code is working in the CRM custom Function but not in Zoho Flow custom Function
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.