# Exit loop

Node type `browser_breakLoop`

## What it does

Exit the enclosing loop early.

## Desktop client configuration

![Exit loop configuration in the desktop client](/assets/break-loop.e302f07abbf9e08a2e0a4e1ba8fe5b0d6166190274dbaa58fe464fbaafa100c9.0538f3a9.webp)

Captured in the English interface of MoreLogin Desktop V2.73.101.

## Inputs

These fields belong in `data.browserUi.inputs`.

This node has no dedicated input fields.

## Mode requirements and limits

- **Inputs:** There are no action fields. You can omit inputs or pass `{}`.
The node must be inside a loop in this workflow. It does not break out of the caller's loop.
- Validation code `RPA_NODE_INPUT_INVALID`


## Outputs

| Output field | Type or values |
|  --- | --- |
| `signal` | `"break"` |
| `exited` | `true` |
| `loopId` | `string` |
| `exitReason` | `"break"` |


Reference published fields as `${nodeId.data.field}`.

## JSON example

Place this node inside the `blocks` of a Loop node.

```json
{
  "id": "stop_loop",
  "type": "browser_breakLoop",
  "data": {
    "title": "Stop when the item is found",
    "browserAction": "breakLoop",
    "browserUi": {
      "inputs": {}
    }
  }
}
```

[Back to the node catalog](/browser-rpa/nodes)