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 aa52bc8 commit f5784bbCopy full SHA for f5784bb
Core ServiceNow APIs/GlideRecord/Fetch active incidents assigned to a specific group./README.md
@@ -0,0 +1,2 @@
1
+This script basically built to pull active incidents for a particular group in order to act quickly.
2
+Demo script retrieves all active incidents assigned to the "Network Support" group.
Core ServiceNow APIs/GlideRecord/Fetch active incidents assigned to a specific group./code.js
@@ -0,0 +1,9 @@
+
+var gr = new GlideRecord('incident');
3
+ gr.addQuery('active', true);
4
+ gr.addQuery('assignment_group.name', 'Network Support');
5
+ gr.query();
6
7
+ while (gr.next()) {
8
+ gs.info('Incident Number: ' + gr.getValue('number'));
9
+ }
0 commit comments