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

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

Community Alums
Not applicable

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

@Community Alums 

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

@Community Alums 

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

Community Alums
Not applicable

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.

 

@Community Alums 

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

Community Alums
Not applicable

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