---
title: Extend input
project: BPM
version: 1.0
section: reference
language: en
license: Total.js Enterprise
url: https://totaljs.es/docs/bpm/1-0/reference/extend-input/
updated: 2026-11-20T18:44:32.311Z
---

# Extend input

> The object that the Extend component expects.

The **Extend** component changes an existing task. Send it an object with the keys that you want to change. All keys are optional, except that the task must be known: either the message comes from another BPM node with a task, or the object has `id`.

| Key | Type | What it changes |
|---|---|---|
| `id` | String | The ID of the task to change. |
| `name`, `subject`, `number`, `reference`, `body` | String | The task fields. See [Task fields and templates](../task-fields/). |
| `attrs` | Object | Added to the data of the task. With **Path for storing incoming data**, stored under that key. |
| `workflow` | String | Moves the task to the step whose name contains this text. |
| `workflowid` | String | Moves the task to the node with this ID. |
| `userid` | String | Assigns the task. |
| `isclosed` | Boolean | Closes the task. |
| `dtbeg`, `dtend` | Date | Dates of the task. |
| `icon`, `color` | String | Icon and color of the task. |

## Example

```json
{
	"id": "Jatc0c1cK61f",
	"reference": "HR-2026-014",
	"attrs": { "days": 5 }
}
```

If the task or the step does not exist, the **Error** output sends an object with `error`, for example `Workflow: "nope" not found`.
