We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Enabling Debugging for a field

lonesoac01
Giga Guru

Anyone know how to "watch" a field to find out how it is being turned to ReadOnly?  I have tried the session debugger and I can only select "Entire session".  if I do that, then my ServiceNow session just crashes and I do not get any useful data.

1 REPLY 1

Joe Wong
Tera Guru

Hi there,

 

I have been where you are at.  Coming from a full stack development, it was so easy to debug and trace variables.  I too sometimes find it extremely frustrated at the lack to being able to track certain things.

 

An alternative way when I hit this wall is find all the possible BR, UI policy, etc that could possible change the value.  My go to is a code search.  You can go to:

 

/sys_metadata_list.do/?sysparm_query=&sysparm_view= 

 

in your instance and do the "for text" search for the variable that is being changed.  This way, you can start to pin point where and maybe when something is triggering to cause that change.

 

Hope this helps.