Skip to content

Commit 5b5b422

Browse files
authored
Comments on gr.update (#1029)
1 parent 0d7f948 commit 5b5b422

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
var now_GR = new GlideRecord('incident');
2+
now_GR.get('99ebb4156fa831005be8883e6b3ee4b9');
3+
now_GR.setValue('short_description', 'Update the short description');
4+
now_GR.update("updated from BR" ); // This comment gets added to the activity log of incident for audit purposes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Comments on gr.update via an optional parameter of why or from where it is being update.
2+
3+
Reference of documentation link: https://developer.servicenow.com/dev.do#!/reference/api/utah/server/no-namespace/c_GlideRecordScopedAPI#r_ScopedGlideRecordUpdate_String?navFilter=update

0 commit comments

Comments
 (0)