Skip to main content

Get Human Task

Used to retrieve a human task by using the task ID. Use this API to retrieve a task and its details.

note

The invoking user should be the task admin, a cluster Admin, or an assignee to the task. If the task is not assigned to anyone, any user can retrieve the task.

Input Payload

AttributeDescription
taskIdThe taskId of the human task which you want to retrieve.

API Endpoint

GET human/tasks/{taskId}

Client SDK Methods

HumanExecutor.getTaskById(taskId: string): Promise<HumanTaskEntry>