We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

History on Background Scripts

xiaix
Tera Guru

Any way to get a history on what Background Scrips were ran and by whom?   We need this for audit reasons.

find_real_file.png

1 ACCEPTED SOLUTION

jcote
Giga Expert

I'm not aware of anywhere in the system where it's stored in "one easy place" to look at.



But consider this - every time a background script is run, it creates a Log entry on System Logs > All with a source of "ScriptBackgroundCheck". So that's something that you could look into a bit further. You can't report directly on this table [syslog] but maybe there could be another customization that you could perform every time a background script is run.


View solution in original post

10 REPLIES 10

Sandeep8987_0-1724741353548.png

In script execution history we can check the previous scripts.

ManikandanR6219
Mega Guru

Hi xiaix,

 

 

On Madrid version I found this table: Script Execution Histories [sys_script_execution_history_list].

A detailed record is created each time a backgroud is executed.

 

Kind regard,

Mani

Ahhh... very nice!

https://YOURINSTANCE.service-now.com/nav_to.do?uri=%2Fsys_script_execution_history_list.do

 

Sitrix
Tera Guru

Realise this is old, but you can find the script execution log under sys_script_execution_history.list

This includes who and what was run.

Sandesh Kobal
ServiceNow Employee

list of sys_script_execution_history