extract_table_dependencies
Build a table dependency graph from ServiceNow server-side code (script includes, business rules, widgets). Limit analysis to one widget or run scope-wide to see how tables interconnect.
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 |