extract_table_dependencies
Extracts GlideRecord table dependencies from ServiceNow server scripts, including business rules and widgets. Supports scope-wide analysis or single widget focus.
Instructions
GlideRecord table dependency graph from server scripts (SI/BR/widgets). Pass widget_id for one widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | App scope filter (sys_scope), e.g. x_company_bpm | |
| page_size | No | ||
| widget_id | No | Limit to ONE widget (sys_id/id/name). Omit for a scope-wide scan. | |
| only_active | No | ||
| include_widgets | No | ||
| include_business_rules | No | ||
| max_records_per_source | No | ||
| include_loose_literal_scan | No | ||
| max_linked_script_includes | No | ||
| include_linked_script_includes | No |