---
title: "Update Tasks"
method: PUT
path: "/cmmn-runtime/tasks"
tags: ["Tasks"]
---

# Update Tasks

`PUT /cmmn-runtime/tasks`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-runtime/tasks`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-runtime/tasks/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- BulkTasksRequest
  - `owner` string
  - `assignee` string
  - `delegationState` string
  - `name` string
  - `description` string
  - `dueDate` string, date-time
  - `priority` integer
  - `parentTaskId` string
  - `category` string
  - `tenantId` string
  - `formKey` string
  - `ownerSet` boolean
  - `assigneeSet` boolean
  - `delegationStateSet` boolean
  - `nameSet` boolean
  - `descriptionSet` boolean
  - `duedateSet` boolean
  - `prioritySet` boolean
  - `parentTaskIdSet` boolean
  - `categorySet` boolean
  - `tenantIdSet` boolean
  - `formKeySet` boolean
  - `taskIds` string[]

## Response `200`

successful operation

- DataResponseTaskResponse
  - `data` TaskResponse[]
    - `id` string
    - `url` string
    - `owner` string
    - `assignee` string
    - `delegationState` string: Delegation-state of the task, can be null, "pending" or "resolved".
    - `name` string
    - `description` string
    - `createTime` string, date-time
    - `dueDate` string, date-time
    - `priority` integer
    - `suspended` boolean
    - `claimTime` string
    - `taskDefinitionKey` string
    - `scopeDefinitionId` string
    - `scopeId` string
    - `subScopeId` string
    - `scopeType` string
    - `propagatedStageInstanceId` string
    - `tenantId` string
    - `category` string
    - `formKey` string
    - `caseInstanceId` string
    - `caseInstanceUrl` string
    - `caseDefinitionId` string
    - `caseDefinitionUrl` string
    - `parentTaskId` string
    - `parentTaskUrl` string
    - `executionId` string
    - `processInstanceId` string
    - `processDefinitionId` string
    - `variables` RestVariable[]
      - `name` string: Name of the variable
      - `type` string: Type of the variable.
      - `value` object: Value of the variable.
      - `valueUrl` string
      - `scope` string
  - `total` integer
  - `start` integer
  - `sort` string
  - `order` string
  - `size` integer

## Other responses

- `201`: Indicates request was successful and the tasks are returned
- `400`: Indicates a parameter was passed in the wrong format or that delegationState has an invalid value (other than pending and resolved). The status-message contains additional information.

---

[API](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/revisions/afdfa1fcacd0?raw)
