Spanish Total.js
English
Documentation For AI agents
Contents

Extend input

The object that the Extend component expects.

.md Website
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.

KeyTypeWhat it changes
idStringThe ID of the task to change.
name, subject, number, reference, bodyStringThe task fields. See Task fields and templates.
attrsObjectAdded to the data of the task. With Path for storing incoming data, stored under that key.
workflowStringMoves the task to the step whose name contains this text.
workflowidStringMoves the task to the node with this ID.
useridStringAssigns the task.
isclosedBooleanCloses the task.
dtbeg, dtendDateDates of the task.
icon, colorStringIcon 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.

Made in Europe