# End

Node type `end`

## What it does

End the workflow and return the configured status and message.

## Desktop client configuration

![End configuration in the desktop client](/assets/end-en.e7926da5650de46f557dca9f4027fadd204f6a6bc8b2273922aefb70866175dd.0538f3a9.webp)

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

## Inputs

Paths are relative to the complete node.

| Field | Type or values | Schema required | Execution default | Description and bounds |
|  --- | --- | --- | --- | --- |
| `id` | `string` | Yes | — | `minLength = 1`, `maxLength = 128` |
| `meta` | `object` | No | — | Optional opaque display JSON. Unknown nested keys are preserved; no runtime semantics. Omission on replacement removes it; untouched nodes retain it. |
| `type` | `"end"` | Yes | — | — |
| `data` | `object` | No | — | — |
| `data.title` | `string` | No | — | — |
| `data.description` | `string` | No | — | — |
| `data.inputs` | `object` | No | — | — |
| `data.outputs` | `object` | No | — | — |
| `data.inputsValues` | `object` | No | — | — |
| `data.inputsValues.status` | `WorkflowValue` | No | `"success"` | — |
| `data.inputsValues.message` | `WorkflowValue` | No | `""` | — |
| `blocks` | `array` | No | — | `maxItems = 0` |


## Mode requirements and limits

- This node must be the last root node, and only one is allowed. status defaults to success. status=failed ends the workflow as failed. On success, message defaults to an empty string; null becomes an empty string, an object is converted with JSON.stringify, and any other value with String.
- Field paths of structure nodes are relative to the complete node. For end, defaults refers to data.inputsValues. For other details, see workflow.md.
- Validation code `RPA_STRUCTURE_INVALID`


## Input references

| Field | Allowed forms |
|  --- | --- |
| `data.inputsValues.message` | `literal`, `reference`, `template` |


## Outputs

| Output field | Type or values |
|  --- | --- |
| `result` | `string` |


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

## JSON example

Place the `end` node last in the root `nodes` array. It reads `read_title.data.text`, the output of an earlier Read element data node.

```json
{
  "id": "end",
  "type": "end",
  "data": {
    "title": "Return the page heading",
    "inputsValues": {
      "status": {
        "type": "constant",
        "content": "success"
      },
      "message": {
        "type": "ref",
        "content": [
          "read_title",
          "data",
          "text"
        ]
      }
    }
  }
}
```

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