Skip to main content

Query for historic task instances

Swagger UIyaml
post/process-api/query/historic-task-instances

All supported JSON parameter fields allowed are exactly the same as the parameters found for getting a collection of historic task instances, but passed in as JSON-body arguments rather than URL-parameters to allow for more advanced querying and preventing errors with request-uri’s that are too long. On top of that, the query allows for filtering based on process variables. The taskVariables and processVariables properties are JSON-arrays containing objects with the format as described here.

Request body application/json · HistoricTaskInstanceQueryRequest

startinteger
sizeinteger
sortstring
orderstring
taskIdstring
processInstanceIdstring
processInstanceIdWithChildrenstring
withoutProcessInstanceIdboolean
processBusinessKeystring
processBusinessKeyLikestring
processDefinitionIdstring
processDefinitionKeystring
processDefinitionKeyLikestring
processDefinitionNamestring
processDefinitionNameLikestring
executionIdstring
taskNamestring
taskNameLikestring
taskNameLikeIgnoreCasestring
taskDescriptionstring
taskDescriptionLikestring
taskDefinitionKeystring
taskDefinitionKeyLikestring
taskDefinitionKeysstring[]
taskCategorystring
taskCategoryInstring[]
taskCategoryNotInstring[]
taskWithoutCategoryboolean
taskDeleteReasonstring
taskDeleteReasonLikestring
taskAssigneestring
taskAssigneeLikestring
taskOwnerstring
taskOwnerLikestring
taskInvolvedUserstring
taskPriorityinteger
taskMinPriorityinteger
taskMaxPriorityinteger
finishedboolean
processFinishedboolean
parentTaskIdstring
dueDatedate-time
dueDateAfterdate-time
dueDateBeforedate-time
withoutDueDateboolean
taskCreatedOndate-time
taskCreatedBeforedate-time
taskCreatedAfterdate-time
taskCompletedOndate-time
taskCompletedBeforedate-time
taskCompletedAfterdate-time
includeTaskLocalVariablesboolean
includeProcessVariablesboolean
scopeDefinitionIdstring
scopeIdstring
scopeIdsstring[]
withoutScopeIdboolean
scopeTypestring
propagatedStageInstanceIdstring
tenantIdstring
tenantIdLikestring
withoutTenantIdboolean
withoutDeleteReasonboolean
taskCandidateGroupstring
ignoreTaskAssigneeboolean
rootScopeIdstring
parentScopeIdstring

Responses

Indicates request was successful and the tasks are returned · DataResponseHistoricTaskInstanceResponse

totalinteger
startinteger
sortstring
orderstring
sizeinteger

requiredGrey names have no description in the spec