Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Incident Notification Email

Shrabanti
Tera Contributor

Hello Team ,

 

when incident closed and that mail send to user in that template "click here to view incident: LINK " should come like "click here to view incident: INC0012898(which is current closed incident number for that user)" and after click on incident number it should directly open that closed incident form page.

Thanks,

Shrabanti

Shrabanti_0-1701773986505.png

 

1 REPLY 1

Fabian Kunzke
Kilo Sage
Kilo Sage

Hey,

 

this can be done with a mail script. A mail script allows you to code the HTML text used within a mail notification. The link you see here is part of an ootb mail script. You can take the same mail script as a starting point. Just make sure your end result will fetch the number of the incident. Then place that number in the html tag:

<a href="LINK TO THE INCIDENT">NUMBER OF THE INCIDENT</a>

Hope this gives you a good idea.

You an fetch record details within mail scripts with the "current" object. For reference, check out the "incident_link" mail script.


Regards

Fabian