How to get/update record in a custom module in Zoho Extension through deluge script/Custom function?
Hi,
I am working on Zoho Extensions, with a custom module and custom fields in it. And I am succeeded in it.
Now I want to apply some workflows on that custom module. My custom module name is
Test Services, and its API name is
test_service, I think.
I have written custom function for that, but it is giving me error:
Error evaluating MAP expression.
My code is:
void workflowspace.autoPopulateFields(map test_service)
{
testService_ID = input.test_service.get("testextension4.Test_Services.ID");
info testService_ID;
testService_record = zoho.crm.getRecordById("CustomModule1", testService_ID.toLong());
info testService_record;
recordUpdate = zoho.crm.updateRecord("custommodule1", testService_ID.toString(), { "Email" : "abc@gmail.com" });
info recordUpdate;
}
I think, I am making mistake in getting error in giving
ID or
Module Name to the function.
Please help me.
Thanks
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.