Incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 03:22 AM
Hi Everyone,
I want to print the all incidents account & incidents managers names.
I build the code but not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 03:43 AM
What is your business case? What are you using this for?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 03:48 AM
var inc = new GlideRecord('incident');
inc.addActiveQuery();
inc.addExtraField('caller_id.manager.manager.name');
inc.query();
while(inc.next()){
gs.print("Caller's Manager's Manager Name: "+inc.number + " " + inc.caller_id.manager.manager.name);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 04:03 AM
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2025 04:14 AM - edited 06-27-2025 04:15 AM
@P1234
install the SNUtils extension unless you already have it and then go to the list - Incident, click the gear icon for personalising your view and double click an empty space, a new line will be added and put your dot walking and pres enter, it will add the dotwalking field as a new column and you can export it or review it whatever...
Incident > Gear Icon > double click the area below the box and PRESS ENTER (otherwise not applied):
Result:
Or you can add the field there for the whole view, this is personalised just for your own view, not anybody else's.
FYI @Mark Manders my favourite hidden trick by SNUtils :)))))
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */