Get Flow Outputs
get_flow_outputsRetrieve output name-value pairs from a completed flow or subflow execution using its context ID. Use after flow status shows complete.
Instructions
Retrieve outputs from a completed flow/subflow/action execution by its context ID. Only call this after get_flow_context_status shows COMPLETE.
Returns the output name-value pairs defined by the flow/subflow/action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `now-sdk auth --add` (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. | |
| context_id | Yes | The flow context sys_id from the execution result's contextId field. |