Why would this custom button not execute properly?

Why would this custom button not execute properly?

Hello Friends!

I am racking my brains trying to figure out why my custom button is not pushing data from the "Leads" module to the "Appts" module. I have 'id' defined as Leads Id. I have another custom button in the leads that works perfectly fine. I have pasted my script below, maybe someone can help show me where I went wrong. Also, would Layouts effect a button at all? Thank you!

apptset = zoho.crm.getRecordById("Leads",id.toLong());
info apptset;
mp = Map();
mp.put("Lead_Plan_Sponsors",apptset.get("id"));
mp.put("Appointment_Date",apptset.get("Appointment_Date1"));
mp.put("Appointment_Time",apptset.get("Appointment_Time"));
mp.put("Appointment_Type","Trucking");
mp.put("City",apptset.get("City"));
mp.put("Client_Number","Trucking Appt");
mp.put("Company_Name",apptset.get("Plan_Sponsor1"));
mp.put("Date_Appointment_Set",apptset.get("Date_App_Set"));
mp.put("Email",apptset.get("Email"));
mp.put("Employee_Size",apptset.get("Employee_Size"));
mp.put("First_Name",apptset.get("First_Name"));
mp.put("InfoGroup_Id",apptset.get("InfoGroup_Id"));
mp.put("Last_Name",apptset.get("Last_Name"));
mp.put("Phone",apptset.get("Phone"));
mp.put("Sales_Volume",apptset.get("Sales_Volume"));
mp.put("Scheduling_Agent",apptset.get("Scheduling_Agent1"));
mp.put("SIC_Code",apptset.get("SIC_Code"));
mp.put("SIC_Code_Description",apptset.get("SIC_Code_Description"));
mp.put("State",apptset.get("State"));
mp.put("Street",apptset.get("Street"));
mp.put("Title",apptset.get("Designation"));
mp.put("Zip_Code",apptset.get("Zip_Code"));
update = zoho.crm.createRecord("Appts",mp,{"trigger":{"workflow"}});
info update;
return "Trucking Appointment Set Successfully! Great job!";