Why does the created_by field on the Slow Scripts table always get populated with Guest?

LonLandry1
Tera Expert

Three Questions:
1. Why does the created_by field on the Slow Scripts table always get populated with guest as opposed to the user who created the script? I checked my PDI and it seems guest is populated Out of Box.

2. Is anyone aware of the logic behind populating the created_by field with guest on the Slow Scripts table?

3. Would it be in line with best practices to create an automation that populates the created_by field with the user who created the scripts?
(A common use case is filtering Slow Scripts by a specific user)

1 ACCEPTED SOLUTION

Mark Manders
Mega Patron

Question one and two are the same, right? Slow scripts aren't the exact script, it's the system collecting the slow scripts and creating slow script records of them, Hence, created by 'system'. You aren't looking at a list of scripts.

And no, it's not best practice to change this, since it's OOB behavior and any change to that logic will create technical debt which could cause extra time being lost during patching/upgrading.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

4 REPLIES 4

Mark Manders
Mega Patron

Question one and two are the same, right? Slow scripts aren't the exact script, it's the system collecting the slow scripts and creating slow script records of them, Hence, created by 'system'. You aren't looking at a list of scripts.

And no, it's not best practice to change this, since it's OOB behavior and any change to that logic will create technical debt which could cause extra time being lost during patching/upgrading.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thaks for setting me straight on this.
This was a correct answer, but the correct answer button is not available...

You can only 'accept solution' or give a helpful 'thumbs up'. ServiceNow doesn't believe in correct answers 😉


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

It was Edge, button is visible in Chrome