Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions GlideRecord/comments on gr.update/code.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var now_GR = new GlideRecord('incident');
now_GR.get('99ebb4156fa831005be8883e6b3ee4b9');
now_GR.setValue('short_description', 'Update the short description');
now_GR.update("updated from BR" ); // This comment gets added to the activity log of incident for audit purposes.
3 changes: 3 additions & 0 deletions GlideRecord/comments on gr.update/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Comments on gr.update via an optional parameter of why or from where it is being update.

Reference of documentation link: https://developer.servicenow.com/dev.do#!/reference/api/utah/server/no-namespace/c_GlideRecordScopedAPI#r_ScopedGlideRecordUpdate_String?navFilter=update