Add Take me to the Instance Link in email notification

SNOW46
Tera Contributor

Hi Team,

I have a query that while working on Email Notifications for Incident, there are some OOB Notifications defined.

But I want to add a link as "Take Me To The Instance" under the email notification body text. Once any user click on that link it will re-direct to the homepage of the Instance with navigation bar at the left.

Anyone can share some inputs on this how to achieve this then it would be great.

 

 

Thanks,

Gourav

1 ACCEPTED SOLUTION

yes @Snow .That code will match your requirement

View solution in original post

11 REPLIES 11

Deepak Ingale1
Mega Sage

You need to put below piece of code in mail script tag.

<mail_script>

      template.print('<a href="https://instancename.service-now.com">Take me to instance</a>');

</mail_script>

 

Hi Deepak,

Does it work for me? And in which mail script do I need to put this link?

Can you show me an example for this then it will be helpful for me?

 

 

 

 

Thanks,

Gourav

Upender Kumar
Mega Sage

Hi,

To redirect to the record add

 

 Click here to view the ticket: ${URI}

 

For instance create a email script

find_real_file.png

Add script in notification

${mail_script:sc_req_item_script_1}

 

and below is out put

find_real_file.png

instead of Login you message will display. Login is in my case.

 

Thanks

 

Please Hit Correct, ️Helpful depending on the impact of the response

 

Hi Upender,

Can you please brief me on the same.