Creator field to update field in CRM
Hello,
We are using Creator to create visit report swhen visiting Accounts.
I created a field (dropdown) with Field Linke Name "Account_Status" with 3 options to choose from:
- Active
- Prospect
- Not Active
When we submit the visit report, we would like this to update a custom field in the ZOHO CRM. In other words:
In Zoho CRM in Acccount Module we have a custom field "Account Type" with API "Account_Type".
Now we want this "Account_Type" (CRM) to be updated by the "Account_Status" (from Creator)
I tried this code but it doesn't work. Can you please tell me which code I should use ?
if(input.Account_name_crm != "" && input.Account_name_crm != null)
{
updated_account = zoho.crm.updateRecord("Accounts",input.Account_Status.toLong(),{"Account_Type":"ZOHO CRM"});
}
Thanks a lot,
Joshi
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.