function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DevSFDevSF 

Send the record URL when the record is submitted for approval.

Hi friends,

My scenario i to send the Account record URL, when the user clicks on submit for approval button.
Then the Approver should be notified along with the record (Account) URL.

How can we achieve this....!
 
CloudGeekCloudGeek
Hello There,

Considering that you want to notify the Approver with the Account URL,

You can send an email to Approver , in the email template using the merge syntax for AccountId,  like :

Go into your email template and
click Edit HTML Version -> Select Field Types (object you are going to use to pull the information into the email) -
> under Select Field choose Detail Link under Standard Fields.
The detail link will appear highlighted in the Copy Merge Field Value
-> copy that and then click the "Insert Link" image at the top of the edit page to the right of the U (underline) format button.

Make sure you place your cursor in the correct area of your email template first.
The window will open that will allow you to paste the detail link into.
You can also type "click here" in your email and highlight it prior to the copy and paste of the detail link.