Duluge Script Issue - Send Edit Record URL
I am stuck and I cannot get this thing figured out. I have read and done exactly as a couple of posts said to do, but still cannot get the task to work.
Upon successful record creation I want to create an email. The email should contain a link to edit the record that was just created so they can fill in their information that I need to obtain.
I have the script set to do everything, but the link does not work. I have tried for about five hours different link code, but still does not work. My form is published so it should work, but it doesn't. Here is my Code:
- url_part_1 = "<a href='https://app.zohocreator.com'" + zoho.appuri;
- url_part_2 = "Service_Failure/record-edit/Service_Failure_Report/" + input.ID;
- url_security = "/3zF6fWvESqajH1MET6DwAgzCtEOKfp6QxF3vKu8DxCZJyNyFNHP1wh29Q8exHZ0kWKg";
- url_part_4 = ">Click Here to Complete Corrective Action</a>";
- Form_Link = url_part_1 + url_part_2 + url_security + url_part_4;
- sendmail
- [
- from :zoho.adminuserid
- to :input.Vendor_Mail
- subject :"Service Failure Notification - " + input.Load_Number
- message : "Click the link below to complete your Service Failure Report:" + Form_Link
- ]