curl -X POST "http://localhost:8090/process-api/query/historic-task-instances" \
-u "$FLOWABLE_USER:$FLOWABLE_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"start": 0,
"size": 0,
"sort": "string",
"order": "string",
"taskId": "string",
"processInstanceId": "string",
"processInstanceIdWithChildren": "string",
"withoutProcessInstanceId": true,
"processBusinessKey": "string",
"processBusinessKeyLike": "string",
"processDefinitionId": "string",
"processDefinitionKey": "string",
"processDefinitionKeyLike": "string",
"processDefinitionName": "string",
"processDefinitionNameLike": "string",
"executionId": "string",
"taskName": "string",
"taskNameLike": "string",
"taskNameLikeIgnoreCase": "string",
"taskDescription": "string",
"taskDescriptionLike": "string",
"taskDefinitionKey": "string",
"taskDefinitionKeyLike": "string",
"taskDefinitionKeys": [
"string"
],
"taskCategory": "string",
"taskCategoryIn": [
"string"
],
"taskCategoryNotIn": [
"string"
],
"taskWithoutCategory": true,
"taskDeleteReason": "string",
"taskDeleteReasonLike": "string",
"taskAssignee": "string",
"taskAssigneeLike": "string",
"taskOwner": "string",
"taskOwnerLike": "string",
"taskInvolvedUser": "string",
"taskPriority": 0,
"taskMinPriority": 0,
"taskMaxPriority": 0,
"finished": true,
"processFinished": true,
"parentTaskId": "string",
"dueDate": "2026-01-15T09:30:00.000Z",
"dueDateAfter": "2026-01-15T09:30:00.000Z",
"dueDateBefore": "2026-01-15T09:30:00.000Z",
"withoutDueDate": true,
"taskCreatedOn": "2026-01-15T09:30:00.000Z",
"taskCreatedBefore": "2026-01-15T09:30:00.000Z",
"taskCreatedAfter": "2026-01-15T09:30:00.000Z",
"taskCompletedOn": "2026-01-15T09:30:00.000Z",
"taskCompletedBefore": "2026-01-15T09:30:00.000Z",
"taskCompletedAfter": "2026-01-15T09:30:00.000Z",
"includeTaskLocalVariables": true,
"includeProcessVariables": true,
"taskVariables": [
{
"name": "string",
"operation": "equals",
"value": {},
"type": "string"
}
],
"processVariables": [
{
"name": "string",
"operation": "equals",
"value": {},
"type": "string"
}
],
"scopeDefinitionId": "string",
"scopeId": "string",
"scopeIds": [
"string"
],
"withoutScopeId": true,
"scopeType": "string",
"propagatedStageInstanceId": "string",
"tenantId": "string",
"tenantIdLike": "string",
"withoutTenantId": true,
"withoutDeleteReason": true,
"taskCandidateGroup": "string",
"ignoreTaskAssignee": true,
"rootScopeId": "string",
"parentScopeId": "string"
}'