Get Behavior Details
get_behavior_detailsRetrieve details for up to 50 ServiceNow behavior references by kind, source table, and sysId. Include scripts, definitions, dependencies, or one-level expansion; returns compact metadata by default.
Instructions
Read up to 50 known behavior references in one call without rediscovering a table. Pass references from discover_table_behavior or known kind/sourceTable/sysId values. Add details to request scripts, definitions and dependencies immediately; default is compact metadata. Flows accept sourceTable sys_hub_flow with kind flows; subflows, actions, Script Includes and decision tables can also be retrieved. Optional one-level dependency expansion is bounded and labels unresolved calls. Inaccessible and oversized details have explicit warnings and recovery references. This reads configuration only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Transaction scope for flow design-definition reads. | |
| details | No | Include requested details in this call. Default: compact configuration without script bodies or full definitions. | |
| instance | No | Instance auth alias; defaults to SN_AUTH_ALIAS. | |
| max_bytes | No | JSON response budget, default 65536 bytes. Oversized detail is omitted whole with a retrieval reference. | |
| references | Yes | ||
| dependency_depth | No | Expand one dependency level; requires details containing dependencies. Default 0. |