We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Code Search API for Scripting?

Daren Kline
Kilo Contributor

Is there an API available to use the Code Search capability in ServiceNow from within Background Scripts or Script Includes?  I have a long list of events (from the Event Registry) that I want to run through a script to call Code Search to see where those events are being triggered/fired, instead of manually searching with Code Search.

1 REPLY 1

sachin_namjoshi
Mega Patron

There is OOB code search REST api avaiable.

you can explore it using REST API explorer.

 

find_real_file.png