Method
POST /history/task
Parameters
A JSON object with the following properties:
|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are
taskId
, activityInstanceID
, processDefinitionId
, processInstanceId
, executionId
, duration
, endTime
, startTime
, taskName
, taskDescription
, assignee
, owner
, dueDate
, followUpDate
, deleteReason
, taskDefinitionKey
, priority
, , caseInstanceId
, and caseExecutionId
and tenantId
.|sortOrder|Mandatory. Sort the results in a given order. Values may be asc
for ascending order or desc
for descending order.|sortBy|Mandatory. Sort the results lexicographically by a given criterion. Valid values are
taskId
, activityInstanceID
, processDefinitionId
, processInstanceId
, executionId
, duration
, endTime
, startTime
, taskName
, taskDescription
, assignee
, owner
, dueDate
, followUpDate
, deleteReason
, taskDefinitionKey
, priority
, caseDefinitionId
, caseInstanceId
, and caseExecutionId
and tenantId
.|sortOrder|Mandatory. Sort the results in a given order. Values may be
asc
for ascending order or desc
for descending order.
- For further information, please see the documentation.
Result
A JSON array of historic task objects.Each historic task object has the following properties:
- For further information, please see the documentation.
Response Codes
Example
Request Body:
Response
"processDefinitionId":"aProcDefId",
"processInstanceId":"aProcInstId",
"executionId":"anExecution",
"caseDefinitionId":"aCaseDefId",
"caseInstanceId":"aCaseInstId",
"caseExecutionId":"aCaseExecution",
"activityInstanceId": "anActInstId",
"name":"aName",
"description":"aDescription",
"owner":"anOwner",
"assignee":"anAssignee",
"startTime":"2013-01-23T13:42:42.000+0200",
"endTime":"2013-01-23T13:45:42.000+0200",
"duration": 2000,
"taskDefinitionKey":"aTaskDefinitionKey",
"priority":10,
"due":"2013-01-23T13:49:42.000+0200",
"parentTaskId":"aParentId",
"tenantId":null}]