---
title: "List historic task instances"
method: GET
path: "/cmmn-history/historic-task-instances"
tags: ["History Task"]
---

# List historic task instances

`GET /cmmn-history/historic-task-instances`

## Request

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

For all 'Like' parameters the '%' wildcard character must be URL-encoded as '%25' (for example '?nameLike=acme%25' to match names starting with 'acme').

## Query parameters

- `taskId` string
- `caseInstanceId` string
- `caseInstanceIdWithChildren` string
- `caseDefinitionId` string
- `propagatedStageInstanceId` string
- `withoutScopeId` boolean
- `taskDefinitionKey` string
- `taskName` string
- `taskNameLike` string
- `taskNameLikeIgnoreCase` string
- `taskDescription` string
- `taskDescriptionLike` string
- `taskCategory` string
- `taskCategoryIn` string
- `taskCategoryNotIn` string
- `taskWithoutCategory` string
- `taskDeleteReason` string
- `taskDeleteReasonLike` string
- `taskAssignee` string
- `taskAssigneeLike` string
- `taskOwner` string
- `taskOwnerLike` string
- `taskInvolvedUser` string
- `taskCandidateGroup` string
- `taskPriority` string
- `finished` boolean
- `processFinished` boolean
- `parentTaskId` string
- `dueDate` string, date-time
- `dueDateAfter` string, date-time
- `dueDateBefore` string, date-time
- `withoutDueDate` boolean
- `taskCompletedOn` string, date-time
- `taskCompletedAfter` string, date-time
- `taskCompletedBefore` string, date-time
- `taskCreatedOn` string, date-time
- `taskCreatedBefore` string, date-time
- `taskCreatedAfter` string, date-time
- `includeTaskLocalVariables` boolean
- `includeProcessVariables` boolean
- `tenantId` string
- `tenantIdLike` string
- `withoutTenantId` boolean
- `withoutProcessInstanceId` boolean
- `planItemInstanceId` string
- `rootScopeId` string
- `parentScopeId` string

## Response `200`

Indicates that historic task instances could be queried.

- DataResponseHistoricTaskInstanceResponse
  - `data` HistoricTaskInstanceResponse[]
    - `id` string
    - `name` string
    - `description` string
    - `deleteReason` string
    - `owner` string
    - `assignee` string
    - `startTime` string, date-time
    - `endTime` string, date-time
    - `durationInMillis` integer
    - `workTimeInMillis` integer
    - `claimTime` string, date-time
    - `taskDefinitionKey` string
    - `formKey` string
    - `priority` integer
    - `dueDate` string, date-time
    - `parentTaskId` string
    - `url` 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
    - `tenantId` string
    - `category` string
    - `caseInstanceId` string
    - `caseInstanceUrl` string
    - `caseDefinitionId` string
    - `caseDefinitionUrl` string
    - `scopeDefinitionId` string
    - `scopeId` string
    - `subScopeId` string
    - `scopeType` string
    - `propagatedStageInstanceId` string
    - `executionId` string
    - `processInstanceId` string
    - `processDefinitionId` string
  - `total` integer
  - `start` integer
  - `sort` string
  - `order` string
  - `size` integer

## Other responses

- `404`: Indicates an parameter was passed in the wrong format. 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)
