how to add latest worknotes/Additional Comments in the email

sk59
Tera Expert

Hi All,

I want to show the latest comments/worknotes added on a ticket in the email which I am sending.

currently I am writing something like below, but it is blank in the email.

Comments: ${current.comments.getJournalEntry(1)}

Worknotes: ${current.work_notes.getJournalEntry(1)}

 

5 REPLIES 5

Nireesha2
ServiceNow Employee
ServiceNow Employee

 

Add this line to the email script(sys_script_email)

template.print(current.comments.getJournalEntry(1));