Update a Task's Metadata - Update a Task's Metadata - This operation updates task metadata. Use it when a script needs to change task properties such as the name, description, priority, or assignee. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/kph2222847382711 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-02T23:02:36.222215
ft:locale
en-US

This operation updates task metadata. Use it when a script needs to change task properties such as the name, description, priority, or assignee.

The base request is:

updateTask(taskId, updateTaskPayload)

Use UpdateTaskPayload when a script needs to update task metadata.

The following example updates multiple task properties:

const updateTaskPayload = {
    name: 'Updated review task',
    description: 'Review updated invoice details.',
    priority: 75,
    assignee: variables.assignee
};

variables.task =
    new RuntimeTaskService()
        .updateTask(
            variables.taskId,
            updateTaskPayload
        );

In this example:

  • name: 'Updated review task' specifies the new task name.
  • description: 'Review updated invoice details.' specifies the new task description.
  • priority: 75 specifies the new task priority.
  • assignee: variables.assignee specifies the user to assign to the task.
  • updateTask(...) updates the task with the metadata provided in UpdateTaskPayload and assigns the resulting task object to the task process variable.