extract_table_dependencies
Generate a dependency graph of GlideRecord tables from ServiceNow server scripts, business rules, and widgets. Filter by app scope or widget to trace data relationships.
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 |