Get a task
GET {{baseUrl}}/tasks/:taskId?includeProcessVariables=true&includeTaskComments=true&includeTaskAssignments=true&includeUserIds=false&includeGroupIds=false
Retrieve a task based on given task id.
Body
PARAM
Key | Datatype | Required | Description |
includeProcessVariables
|
boolean | An indication if the historic task instance global variables should be returned as well. | |
includeTaskComments
|
boolean | An indication if the historic task instance comments should be returned as well. | |
includeTaskAssignments
|
boolean | An indication if the historic task instance assigments should be returned as well. | |
includeUserIds
|
boolean | Indication to include OTDS Id instead of email for users in the response. | |
includeGroupIds
|
boolean | Indication to include id instead of name for groups and roles in response. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"assignee": "John",
"assignments": [
{
"group": "testgroup",
"type": "assignee",
" Curl curl -X GET 'baseUrl/tasks/:taskId?includeProcessVariables=true&includeTaskComments=true&includeTaskAssignments=true&includeUserIds=false&includeGroupIds=false?includeProcessVariables=true&includeTaskComments=true&includeTaskAssignments=true&includeUserIds=false&includeGroupIds=false' ENDPOINTS |