How to check which script/flow adds an Additional Comment to a RITM?

MaciejD
Tera Expert

There is a particular comment that is added from an unknown source in my RITMs when I use a particular UI Action. I can't find it in any configurations, so I wonder if there still is a way to use something like the good old Field Watcher in order to find and modify that script that I cannot find.

1 ACCEPTED SOLUTION

@MaciejD 

try to use script tracer and debug

Script Tracer and debugging scripts 

Mastering the Script Tracer in ServiceNow: A Guide to Debugging Server-Side Scripts 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@MaciejD 

places to check

1) script include

2) business rule

3) script actions

4) flow

5) subflow

6) workflow

7) scheduled job

comments get added with system user or which user?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

it's added by the user who clicked the UI Action. Also checking all of that would be a nightmare and take hours: there are HUNDREDS of script to look through. I'm asking if there's a shortcut.

 

@MaciejD 

try to use script tracer and debug

Script Tracer and debugging scripts 

Mastering the Script Tracer in ServiceNow: A Guide to Debugging Server-Side Scripts 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Found it, thanks!! It was one of the BRs that was found in the Tracer.