Email Notification with Link to the record

vidhya_mouli
Giga Sage

I have a table u_manager_activities_sv. Whenever assigned_to field changes and email notification has to be sent to the user in that field with a link to the record. I have created the email notification and it gets triggered. However, I am unable to link it to the current record. How can I do it?

1 ACCEPTED SOLUTION

Gopi Naik1
Kilo Sage

Hi @vidhya_mouli ,

 

Try to use below line in your notification.

Click Link to view Record: ${URI}

 

Thanks,

Gopi

If my solutions helps you to resolve the issue, Please accept solution and Hit "Helpful".

Thanks,
Gopi

View solution in original post

3 REPLIES 3

Gopi Naik1
Kilo Sage

Hi @vidhya_mouli ,

 

Try to use below line in your notification.

Click Link to view Record: ${URI}

 

Thanks,

Gopi

If my solutions helps you to resolve the issue, Please accept solution and Hit "Helpful".

Thanks,
Gopi

Yousaf
Giga Sage

Hi Vidhya,
You can try ${URI} as suggested by Gopi or you can use ${URI_REF}.
${URI} - This will show the word Link clicking on it will take you to the record

${URI_REF} - This will show you the display value of that record as the link.


***Mark Correct or Helpful if it helps.***

Prince Arora
Tera Sage
Tera Sage

@vidhya_mouli ,

 

You can create a email script and call this email script from Notification and in the email script, Please use below code:

 

template.print('<a href="' + gs.getProperty('glide.servlet.uri') + 'u_manager_activities_sv.do?sys_id=' + current.sys_id + '">Please open the record</a>')

 

Please refer the image for more info:

 

PRINCE_ARORA_0-1679663351045.png

 

And call this using below method in notification:

 

Incident Number: ${mail_script:NAME_OF_YOUR_SCRIPT}

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.