The CreatorCon Call for Content is officially open! Get started here.

How do I find a script include having only it's sys_id?

Robert _ysakows
Tera Contributor

Hi All,

 

I am trying to troubleshoot Employee Center issue, the only thing I have is system log pointing to issue in script include:

java.lang.NullPointerException
Caused by error in sys_script_include.fb5a924473b7130030f331d7caf6a764.script at line 1187

 

I am unable to add sys_id field to table view, it's not available and I do not know how to add it there. How do I find the referenced script by it's sys_id?

 

1 ACCEPTED SOLUTION

Wojtek Winnicki
Tera Guru

Hello @Robert _ysakows 

why don't you just filter the script include based on its Sys ID?

WojtekWinnicki_0-1689236945966.png

 



View solution in original post

3 REPLIES 3

Wojtek Winnicki
Tera Guru

Hello @Robert _ysakows 

why don't you just filter the script include based on its Sys ID?

WojtekWinnicki_0-1689236945966.png

 



Thanks - pretty simple 🙂 I was looking to add this field to list layout, did not think about using the filter... In the meantime I've found a workaround and used 'view XML' and searched for the guid string.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

If you know the table and sys_id, you can just open the table and filter on the sys_id. Shouldn't be that hard.

If you are using SNUtils, it's even easier... /<sys_id> 😁

 

If using these methods and not finding anything, then it might be because the record does not exist or you don't have access to read it at all.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn