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.

How to add Hyperlink or current record link in email notification subject?

HARI KISHAN GVS
Mega Sage

Hi Team,

I need to add current record link email subject line of a notification.

In the email body i am using ${URI_REF}, But when i used the same in subject it is not showing the record number as Hyperlink.

Instead it's showing the whole url.

How can i add record link in subject ? 

 

HARIKISHANGVS_0-1701268459176.png

 

Thanks in advance,

Hari Kishan.

1 REPLY 1

AshishKM
Kilo Patron
Kilo Patron

HI @HARI KISHAN GVS , 

I don't think we can add record with link using $(URI_REF) in the subject link because subject field is string type not the html_script type same as message body field.

 

Use the ${number} in subject link, you can check if any of OOTB email notification has ${URI} or ${URI_REF} or not.  

 

AshishKMishra_1-1701269487554.png

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution