Update account field from Function

Update account field from Function

Hi,

I am having a problem with a function I created that is triggered by a workflow in Zoho CRM. The code is:

accountID = "1234";
zohoUpdateAccount = zoho.crm.update("Accounts",accountID,{"Billing notes":”testing”});

 (The “Billing notes” field is a custom field I created. I have triple checked the accountID is valid - "1234" is a placeholder.)
For some reason, this does not update the record. Is there a reason for this? Can I update CRM records from functions called by Workflows in CRM?

 

Please help!