Change a work_note in a Form View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2023 07:26 AM - edited 09-04-2023 07:27 AM
I am trying to change single work notes / comments in Form View using a business rule. I'd like to get the same result you could get using:
g_form.setvalue('description', 'This is an example')
So far, I have only found methods to update this field at database, which doesn't work for my use case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2023 12:38 AM
Hi @pedro_lebronIf you are trying to update worknotes/comment,please refer to the document: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0520375
To set work notes using the Business rule try using the before the business rule, add the following script, and set the when condition:
current.work_notes = 'This is example';
Please mark the answer correct and helpful if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2023 12:41 AM - edited 09-05-2023 12:42 AM
You can simply use below statement for updating work notes/comments via BR:
g_form is available for client scripts, can't be used in server side script
When it comes to BR, it supports server side script and use following for that:
current.work_notes = 'My Work notes';
OR
current.comments = 'My comments';
Aman Kumar