Get user task
GET/user-tasks/:userTaskKey
Get the user task by the user task key.
Request
Path Parameters
The user task key.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The user task is successfully returned.
- application/json
- Schema
- Example (from schema)
Schema
The key of the user task.
The name for this user task.
Possible values: [CREATED
, COMPLETED
, CANCELED
, FAILED
]
The state of the user task.
The assignee of the user task.
The element ID of the user task.
The key of the element instance.
The candidate groups for this user task.
The candidate users for this user task.
The ID of the process definition.
The key of the process definition.
The key of the process instance.
The key of the form.
The creation date of a user task.
The completion date of a user task.
The follow date of a user task.
The due date of a user task.
Tenant ID of this user task.
The external form reference.
The version of the process definition.
customHeaders object
Custom headers for the user task.
Possible values: <= 100
Default value: 50
The priority of a user task. The higher the value the higher the priority.
{
"userTaskKey": 0,
"name": "string",
"state": "CREATED",
"assignee": "string",
"elementId": "string",
"elementInstanceKey": 0,
"candidateGroups": [
"string"
],
"candidateUsers": [
"string"
],
"processDefinitionId": "string",
"processDefinitionKey": 0,
"processInstanceKey": 0,
"formKey": 0,
"creationDate": "2024-12-13T13:19:42.510Z",
"completionDate": "2024-12-13T13:19:42.510Z",
"followUpDate": "2024-12-13T13:19:42.510Z",
"dueDate": "2024-12-13T13:19:42.510Z",
"tenantId": "string",
"externalFormReference": "string",
"processDefinitionVersion": 0,
"customHeaders": {},
"priority": 50
}
The provided data is not valid. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The request lacks valid authentication credentials.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Forbidden. The request is not allowed.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The user task with the given key was not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}