Is there a way to find when a client script is run and what it did?

Community Alums
Not applicable

I'm trying to figure out if there is a way to find out if a client script was run on a change request, and if so, what it did (what it did would be awesome, but even just knowing if it ran would be useful).  I've looked through all the logs I can think of and can't find something like this so hoping I'm just missing something.

 

Having an issue with random change requests being reverted to access stage after approval and can't find a rhyme or reason to why, so just trying to troubleshoot.  Found a KB that mentions something about a specific script that could be causing this so trying to see if this is the case.

https://support.servicenow.com/kb?id=kb_article_view&sys_kb_id=5cbd0acfdb2e55143321db85ca961997

1 REPLY 1

Bert_c1
Kilo Patron

Hi Daniel,

 

If you have a recent example, so node logs exist, you can create a Support Case to have the update of the change_request state field.  You can go to a list of Client Scripts here:

 

https://[instance_name].service-now.com/sys_script_client_list.do?sysparm_query=sys_class_name%3Dsys_script_client%5EGOTOtable%3Dchange_request&sysparm_view= 

 

And check the potential Client Scripts. Since it is intermittent, an example withing 4 days would be best if you create a Support Case.