Outline Workflow
outline_workflowDisplay a legacy ServiceNow workflow as a readable outline, node list, structural analysis, or Mermaid flowchart to inspect steps, exits, and connections.
Instructions
Show a legacy workflow as a readable outline (default), a node list (every activity with its exits and where it is reached from), a structural analysis, or a Mermaid flowchart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Which view. Default outline. | |
| version | No | Which version: current (default: your draft if you have one, else the published one), published, or draft. Ignored when workflow is a version sys_id. | |
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| workflow | Yes | The workflow's name or sys_id, or a workflow version sys_id. | |
| all_values | No | Outline and nodes: include settings left at their defaults. | |
| flow_hints | No | Outline and nodes: annotate steps with the likely Flow Designer construct. | |
| full_scripts | No | Outline and nodes: print scripts in full (default: the first 25 lines). |