Hello all I have this function that moves data from one field to the next. After the three values move from field to field, I want to clear out the values of the original field or put a standard text in them like the word "none" For example, when my api sends the value to the Last_call_status, PB_source, and Previous_Phoneburner_notes field in my contact module and the function below moves it the respective fields. I want to clearout the values in the Last_call_status, PB_source, and Previous_Phoneburner_notes field or enter the word "none" as these fields are just place holders becuase there seems to be a limitation allowing api to directly update the subform forms.
continfo = zoho.crm.getRecordById("Contacts",contid);
subinfo = continfo.get("PBcallresults3");
submp = Map();
submp.put("PBcallstatus",ifnull(continfo.get("Last_Call_Status"),""));
submp.put("PBAccount",ifnull(continfo.get("PB_Source"),""));
submp.put("PBCallNotes",ifnull(continfo.get("Previous_Phoneburner_Notes"),""));
submp.put("HistoricalDatatime",ifnull(continfo.get("xxxxx"),""));
subinfo.add(submp);
update = zoho.crm.updateRecord("Contacts",contid,{"PBcallresults3":subinfo});