Create automation Function with WorkFlow
Hi everyone,
I'm new to Zoho CRM.
Scenario:
I created a custom field in Accounts with the payment method.
I would like that when I select the account in a Quote, the payment method is also set (which is a drop-down menu) and that I can change it for the Quote only.
I created a WorkFlow that when the account field is not empty it starts a function (which however does not work from here but only from Deluge).
It also gives me the error:
It is not possible to map Zoho CRM fields because there are no arguments available in the function.
The function is this which however has static IDs and does not take them from the Quota
AllAccountInfo = zoho.crm.getRecordById("Accounts",630961000000370761);
mp = Map();
mp.put("Modalit_di_pagamento",ifnull(AllAccountInfo.get("Modalit_di_pagamento"),""));
updateResp = zoho.crm.updateRecord("Quotes",630961000000397152,mp);
Can you help me?