
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 06:05 AM
I have a requirement to write the additional comments from the case task to it's associated case additional comment. I am new with the coding aspect and don't know the best approach or what will work for this. I think a BR will work but I need some help with the code. Can anyone help with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 06:23 AM
@Community Alums
Please write a after update BR as mentioned below
script:
var gr = new GlideRecord("sn_customerservice_case");
gr.get(current.parent);
gr.comments = current.comments.getJournalEntry(1);
gr.update();
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 06:23 AM
@Community Alums
Please write a after update BR as mentioned below
script:
var gr = new GlideRecord("sn_customerservice_case");
gr.get(current.parent);
gr.comments = current.comments.getJournalEntry(1);
gr.update();
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 07:23 AM
This worked perfectly! Thank you!