Upload Files Zoho CRM to Creator.
getFranchiseData = zoho.crm.getRecordById("Vendors",FranID);
//=======================get file PAN ============================================
file_Id2 = getFranchiseData.get("PAN_Attachment").get(0).get("file_Id");
info "file_Id : " + file_Id2;
response2 = invokeurl
[
type :GET
connection:"fileuploadcon"
];
response2.setParamName("file");
//==================Upload file in creator===================================
PAN_Attachment_uploadFile = invokeurl
[
type :POST
files:response2
connection:"crmtocreator"
];
info "PAN_Attachment_uploadFile : " + PAN_Attachment_uploadFile;