sn_code
Search, list, read, and trace ServiceNow automation artefacts—scripts, dictionary entries, and references—to find where names are used across code or schema.
Instructions
Find the instance's own automation. action=search (scripts mentioning a string), action=list (artefacts of a kind), action=read (one artefact), action=where_used (every reference to a name; scope='code' searches only the scripts, scope='schema' only the dictionary, empty searches both).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| text | No | ||
| limit | No | ||
| scope | No | ||
| table | No | ||
| action | No | search | |
| sys_id | No | ||
| artefact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||