TaskResponse
TaskResponse - represents a user task.
- Schema
- Example value
{
"id": string,
"name": string,
"taskDefinitionId": string,
"processName": string,
"creationDate": string,
"completionDate": string,
"assignee": string,
"taskState": TaskState,
"formKey": string,
"processDefinitionKey": string,
"processInstanceKey": string,
"dueDate": string,
"followUpDate": string,
"candidateGroups": [string],
"candidateUsers": [string]
}
{
"id": "string",
"name": "string",
"taskDefinitionId": "string",
"processName": "string",
"creationDate": "string",
"completionDate": "string",
"assignee": "string",
"taskState": "CREATED",
"formKey": "string",
"processDefinitionKey": "string",
"processInstanceKey": "string",
"dueDate": "2023-03-29T20:08:07.171Z",
"followUpDate": "2023-03-29T20:08:07.171Z",
"candidateGroups": ["string"],
"candidateUsers": ["string"]
}
Fields
TaskResponse.id ● string non-null
The unique identifier of the task
TaskResponse.name ● string non-null
Name of the task
TaskResponse.taskDefinitionId ● string non-null
User Task ID from the BPMN definition
TaskResponse.processName ● string non-null
Name of the process
TaskResponse.creationDate ● string non-null
When was the task created (renamed equivalent of
Task.creationTimefield)
TaskResponse.completionDate ● string
When was the task completed (renamed equivalent of
Task.completionTimefield)
TaskResponse.assignee ● string
Username/id of who is assigned to the task
TaskResponse.taskState ● TaskState non-null enum
State of the task
TaskResponse.formKey ● string
Reference to the task form
TaskResponse.processDefinitionKey ● string
Reference to process definition (renamed equivalent of
Task.processDefinitionIdfield)
TaskResponse.processInstanceKey ● string
Reference to process instance id (renamed equivalent of
Task.processInstanceIdfield)
TaskResponse.candidateGroups ● string list
Candidate groups
TaskResponse.candidateUsers ● string list
Candidate users
TaskResponse.followUpDate ● string list
Follow-up date for the task
TaskResponse.dueDate ● string list
Due date for the task
Returned by
Get task GET ●
Assign task PATCH ●
Unassign task PATCH ●
Complete task PATCH