diff --git a/GlideRecord/comments on gr.update/code.js b/GlideRecord/comments on gr.update/code.js new file mode 100644 index 0000000000..7db966cbe1 --- /dev/null +++ b/GlideRecord/comments on gr.update/code.js @@ -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. diff --git a/GlideRecord/comments on gr.update/readme.md b/GlideRecord/comments on gr.update/readme.md new file mode 100644 index 0000000000..67fb682c18 --- /dev/null +++ b/GlideRecord/comments on gr.update/readme.md @@ -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