Notification, how to take last comment or work note

ankit_gupta1
Tera Expert

My requirement is to take last comment or work note ,which one last updated either additional comment or worknotes . how to do that.

ctomasi

16 REPLIES 16

That's why I asked. If someone makes a comment AND a work note at the same time, what would you like to do? Is the default to take the comment and ignore the work note? vice versa? Something else:



Additional comments: 2017-02-21 08:02:03AM


Our team is working on it.



Work notes: 2017-02-21 08:02:03AM


Janet, let me know what you find.



This leads me to another question... who is the notification sent to? Typically comments go to the end user and work notes to the ITIL user. That seems like two different notifications to me rather than an either or on the content.


Notification Send to Assigne


Thank you Ankit.



It would seem to me, as an assignee that I would want both comments and work notes, especially if both were done in the same update. I suggest that this requirement needs re-evaluation with more use cases.


dvp
Mega Sage
Mega Sage

try this in email notification



<mail_script>  


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


</mail_script>


If additional comment updated in last then this script still show work note...
This is not my requirement