I'm trying to move entries from creator to CRM. In this case, the entries create a new account on CRM and transfer the information in the subform as well. Deluge is saying that there is an error in line 5. The sub form in creator is called SubForm and the one in Accounts is called Products Requested.
accountInfo=Map();
accountInfo.put("Account_Name",input.Name);
accountInfo.put("Account_Site", input.Class);
productsList=List:Map();
for each Product in input.SubForm
{
productDetails=Map();
productDetails.put("Products_Requested"."name", input.SubForm.Product);
productsList.add(productDetails);
}
accountInfo.put("Products_Requested", SubForm);
response = zoho.crm._create("Accounts", accountInfo);