Extend input
The object that the Extend component expects.
On this page
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. |
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
{
"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.