Creating a Sample of Incidents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 04:01 AM
Hi all, hopefully I'm posting this in the right place.
We've been asked by management to create a way of randomly generating a number closed incidents from that month.
They would like to check 10% of our closed tickets every month and we're hoping there's way of generating that amount of tickets automatically/randomly.
We're using Service Now Express and I'm aware that doesn't allow for scripting but I'm hoping that there's another way of getting this.
Thanks for any help.
- Labels:
-
Event Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 12:05 PM
What do you mean by randomly generating number closed incidents? Why not schedule a monthly report of all incidents that were closed in the last 30 days and picking incident numbers randomly out of it for inspection?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2018 02:07 AM
I think that's what the current plan is, but I believe management were hoping to automate the process of picking the 10% of tickets.
Thanks for your help though.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2018 10:11 AM
If you truly want to randomize, you can write a script that takes all the incidents resolved within a time frame, randomize those incidents, calculate 10% of the total incidents count, separate the incidents(10%) from original array of all the resolved incidents(from first step) and finally inject that script into a report which you can then schedule monthly. You would need to return array of sys_ids for this to work.
You see it can be messy but is doable of course. The question you need to ask is whether its worth the time and effort.