We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b1a175 + 3ee74cc commit cef6b09Copy full SHA for cef6b09
Background Scripts/Update Incident/UpdateIncident.js
@@ -0,0 +1,7 @@
1
+var gr = new GlideRecord('incident');
2
+gr.addQuery('state', '1');
3
+gr.query();
4
+while (gr.next()) {
5
+ gr.priority = '2';
6
+ gr.update();
7
+}
0 commit comments