We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abbe375 commit c65b853Copy full SHA for c65b853
Server-Side Components/Background Scripts/Updation in Incident record
@@ -0,0 +1,9 @@
1
+var incidentGR = new GlideRecord('incident');
2
+
3
+// Replace 'INC0010001' with the actual incident number or use a query to find it
4
+if (incidentGR.get('number', 'INC0010001')) {
5
+ incidentGR.short_description = 'Updated short description for Priority 1 incident';
6
+ incidentGR.update();
7
+} else {
8
+ gs.info('Incident not found');
9
+}
0 commit comments