diff --git a/Background Scripts/Update Incident/UpdateIncident.js b/Background Scripts/Update Incident/UpdateIncident.js new file mode 100644 index 0000000000..a74e385615 --- /dev/null +++ b/Background Scripts/Update Incident/UpdateIncident.js @@ -0,0 +1,7 @@ +var gr = new GlideRecord('incident'); +gr.addQuery('state', '1'); +gr.query(); +while (gr.next()) { + gr.priority = '2'; + gr.update(); +}