- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2026 01:28 AM
In that case, it makes perfect sense! :)) my comment was from the accessibility perspective, that more people will know how to adjust report/list filters than to script something.
To practice and master your scripting, i recommend you to focus on the variable naming convention, instead of var gr to go with var incidentGR or something like this.
And also some consistency, in the last one you have GR (glideRecord) and GA (glideAggregate), instead try something like var attachmentGR = new GlideRecord('sys_attachment'); it can make your code more/better readable when there will be more lines or more separated functions or conditions.
Keep going and thanks for sharing!
✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---