- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 08:29 AM
Hello all,
I need to display a hyperlink in the email notification body and by clicking that link it should navigate to that particular record from the particular table.
There are ${sysapproval.u_job_role} users on the role ${mail_script:sc_req_item_options_job_role}, please consider this before approving.
In the above, I need to modify text so it hyperlinks(highlighted in blue) to the exact permission that is asking for the access. It should take me to the particular record on clicking it. How can I achieve this?
Thanks in advance,
Hema
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2023 10:36 PM - edited 10-25-2023 10:38 PM
yes, you need to call the email script in the notification body.
Please find the below syntax
Thanks,
Omkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 07:28 AM
HI @Hemamani Prabha ,
How are you triggering the notification if you are using the event, Please pass the sys_id through event as parameter.
once you pass it you can call it in email script e.g var sys_id = event.parm1
and then in the link you can use it
var link = '<a href="table_name.do?sys_id=' + sys_id + '" >Please click to approve the record</a>';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:00 AM
Thanks @Omkar Kumbhar for your help!