how to set value of a journal field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2026 10:20 AM
I have made a custom table which is extended from task table i wanna add some message in work notes which is a journal field i have tried everything setValue,setjournalentry and adding it like a string nothing is working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 12:46 AM
Hi @mayanksinghrath,
share what you tried with me to review
Answers generated by GlideFather. Check for accuracy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 01:04 AM - edited 03-30-2026 01:05 AM
set string value of your comment directly to the field element in GlideRecord, like
var customTableGR = new GlideRecord("u_custom_table");
customTableGR.u_custom_journal_field = "This is Journal Comment";
customTableGR.update();
Please, next time, before you enter new question, try your google superpowers first...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 02:08 AM
Hello @mayanksinghrath ,
setjournalentry() should work on this...
plz share your script or any screenshots ??
Refer this :
https://www.servicenow.com/docs/r/washingtondc/platform-administration/c_JournalFields.html
If my response helped mark as helpful and accept the solution.
