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