Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Add Date to Subject Line for Notifications

DP16
Kilo Expert

How can I add a date to my subject line. 

So, that means, every time this particular notification goes out, it will at least have the date. 

This is what I have configured so far. 

find_real_file.png

6 REPLIES 6

Anurag Tripathi
Mega Patron

Hi,

 

If the date you want to add is from the record, then you can just add it the same way you are adding record fields on the email, it works on subject also.

i.e. ${date_field_name}

 

-Anurag

-Anurag

You can always use sys_updated_on (Updated field) of the record if at the time of this email triggering, the record is being updated too.

-Anurag

Waleska
Mega Guru

Did you only want the month/day/year to appear based on the current day vs the full ServiceNow default date?

Yes Waleksa, I would like the date to read, 11/21/2019

Currently, this is what I'm getting. 

find_real_file.png