Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Include current date in Quick Message

Mike McCall
Giga Guru

I know you can include dynamic field values in Quick Messages by using something like ${number} (or even ${variables.impacted_user_count}). I also know you can use ${current_user} to include your own name.

 

Is there any variable that would output the current date?

  • I tried ${current_date}, as well as some other possibilities like ${mail_script:failed_attempt_at_printing_date}.
  • ...but I haven't gotten anything to work.
1 ACCEPTED SOLUTION

SanjivMeher
Mega Patron
Mega Patron

I dont think you can add anything except the fields in the current record.

Asked several times, but no solution.

https://www.servicenow.com/community/developer-forum/how-to-add-current-date-and-time-in-quick-messa...

 

https://www.servicenow.com/community/developer-forum/add-current-date-in-quick-messages-template/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

2 REPLIES 2

SanjivMeher
Mega Patron
Mega Patron

I dont think you can add anything except the fields in the current record.

Asked several times, but no solution.

https://www.servicenow.com/community/developer-forum/how-to-add-current-date-and-time-in-quick-messa...

 

https://www.servicenow.com/community/developer-forum/add-current-date-in-quick-messages-template/m-p...

 


Please mark this response as correct or helpful if it assisted you with your question.

Ooh, there are some interesting workarounds in those links.

  • The biggest seems to be creating a business rule on the [sys_email] table to do your own text-swapping.
  • I also wonder if it'd be possible to add a custom field on the ticket table--one that's constantly updated to contain the current date.
  • Both of those feel like pretty intense customizations, though, so I'll consider the correct answer to be "we can't do it." 😇

Thanks for the response, Sanjiv!