Conditional IF between two modules syntax
Hello, I am trying to write a conditional statement with deluge to speak to two different fields in two different modules within the CRM. Is this possible and what would be the exact syntax to use. Below is an example of what I am trying to accomplish:
variable1 = zoho.crm.getRecordById("Module1, module1id);
mp = Map();
if("module1_field_API" == "Yes")
{
mp.put("module2_field_API","Yes");
}
update = zoho.crm.updateRecord("Module2, module2id, mp);
info update;
info mp;
Is this totally wrong? Any suggestions would be great! Thank you.