Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* Name: VIP Caller Incidents
* Type: Background Script
* Purpose: Prints all incidents where the caller is a VIP user
* Author: Shashank Jain
*/

var inc = new GlideRecord('incident');
inc.addQuery('caller_id.vip', true); // Only VIP callers
inc.query();
inc.print("Incidents with VIP Callers:");
while (inc.next()) {
gs.print("Number: " + inc.number + " | Short Description: " + inc.short_description);
}
Loading