how to set value of a journal field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Friday
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
5 hours ago
Hi @mayanksinghrath,
share what you tried with me to review
100 % GlideFather experience and 0 % generative AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 4 hours ago
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
3 hours ago
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.
