We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1a175 commit 3ee74ccCopy full SHA for 3ee74cc
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