# End

> Exit a branch and return output while other parallel branches continue running.

Returns data as the flow's output without affecting other active branches. Use End when you want to return a result from one branch of a parallel workflow while other branches continue to run.

## How End differs from Terminate

Both End and Terminate stop execution on the branch they are placed on. The difference is what happens to the rest of the flow:

| Node | Effect on current branch | Effect on other branches |
|---|---|---|
| **End** | Stops and returns output | Other branches continue running |
| **Terminate** | Stops immediately | All other active branches are canceled |

Use **End** when the flow has parallel branches and you want one branch to return output while others complete. Use **Terminate** when you want to stop the entire flow immediately regardless of what else is running.

## Configuration

| Field | Required | Description |
|---|---|---|
| **Output** | No | The value to return as the flow's output. Can be a literal value, a variable reference, or an expression. |

## Output

The value configured in the Output field becomes the flow's return value. Downstream nodes in the same branch cannot reference this — End is a terminal node.

## Examples

**Return a success result from one branch while an audit branch completes:**

In a flow where one branch handles the primary response and another records an audit log, place an End node at the end of the primary response branch. The audit branch continues running independently.

**Return an error result early:**

On an error branch, use an End node to return a structured error object as the flow output without canceling any other processing that may still be in progress.
