The inspect command has four modes. Without flags, it pretty-prints a single record with display values and reference links. With --flow, it inspects a live Flow Designer flow, subflow, or action type by sys_id. With --from-xml, it analyzes an exported update-set XML payload. Combining --flow --from-xml walks flows inside an XML export offline.
inspect
Unified record / flow / XML inspector. Four modes selected by --flow and --from-xml.
sn inspect <table> <query|sys_id> Pretty-print a single record with display values.
Arguments
| Name | Required | Description |
|---|---|---|
| table | Yes | The table to query. |
| query|sys_id | Yes | Encoded query string or 32-char sys_id. |
Examples
sn inspect sys_script_include "name=TestUtils"sys_script_include: TestUtils
name TestUtils
api_name global.TestUtils
active true
script (4,231 chars)
sys_scope Global [global]
sn inspect <sys_id> --flow [--pills] [--grep <pattern>] [--values] [--json] Inspect a live Flow Designer flow, subflow, or action type.
Arguments
| Name | Required | Description |
|---|---|---|
| sys_id | Yes | 32-char sys_id from sys_hub_flow or sys_hub_action_type_base. |
Flags
| Flag | Default | Description |
|---|---|---|
| --pills | — | Dump label_cache pills (flow / subflow only). |
| --grep <pattern> | — | Filter --pills output by substring. |
| --values | — | Include decoded `values` blobs on every step. |
| --json | — | Machine-readable output. |
Examples
sn inspect 57a1088983940310d3cfe5d0deaad330 --flowFlow: Catalog Flow Binding Test
type=flow status=published active=true
trigger: service_catalog (Hardware Request)
actions (2):
1. Get Catalog Variables
2. Log
sn inspect <source> --from-xml [--only-flow <name|sys_id>] [--pills] [--grep <pattern>] [--table <t>] [--json] Analyze an exported update-set XML payload — file, sys_id, or <table>:<sys_id>.
Arguments
| Name | Required | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| source | Yes | Local .xml file path, a sys_update_set / sys_update_xml sys_id, or |