how to add latest worknotes/Additional Comments in the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2018 12:58 AM
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)}
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2018 01:14 AM
First make a event
You can do this by creating a before BR in which you send the additional comments value and use gs.eventQueue('event_name', current, gs.getUserID(), current.comments);
and send when condition in notification to event is fired and select your event.
And then use your comments value in notification.
Please mark my answer correct and helpful if my answer helped u. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2018 01:16 AM
Hi rk,
I am running the notification on insert/update I do not want to use the BR.
I want to show the latest comments in the email body. current.comments displays all the comments

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2018 02:22 AM
Use this:
current.comments.getJournalEntry(1);
Please mark my answer correct and helpful if my answer helped u. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2018 02:41 AM