HistoricTaskInstanceQuery process definition name

Hi,
when i use HistoricTaskInstanceQuery the result is as follows:

 {
    "id": "414",
    "rootProcessInstanceId": "404",
    "processInstanceId": "404",
    "executionId": "404",
    "processDefinitionId": "confirmationFlow:2:403",
    "processDefinitionKey": "confirmationFlow",
    "processDefinitionName": null,
    "processDefinitionVersion": null,
    "caseInstanceId": null,
    "caseExecutionId": null,
    "caseDefinitionId": null,
    "caseDefinitionKey": null,
    "caseDefinitionName": null,
    "eventType": null,
    "sequenceCounter": 0,
    "removalTime": null,
    "durationInMillis": null,
    "startTime": 1585635453564,
    "endTime": null,
    "taskId": null,
    "assignee": null,
    "owner": null,
    "name": "User Task",
    "description": "Survey Task",
    "dueDate": null,
    "followUpDate": null,
    "priority": 50,
    "parentTaskId": null,
    "deleteReason": null,
    "taskDefinitionKey": "surveyTask",
    "activityInstanceId": "surveyTask:413",
    "tenantId": "test",
    "durationRaw": null,
    "persistentState": "org.camunda.bpm.engine.impl.history.event.HistoryEvent"
}

Why process definition name is null even there is process definition id and key?

Does your BPMN model has process definition name?

yes. Repository Service - Process definition query result is

 {
    "id": "confirmationFlow:2:403",
    "url": null,
    "key": "confirmationFlow",
    "version": 2,
    "name": "Simple Workflow With Confirmation",
    "description": "Confirmation Flow",
    "tenantId": "test",
    "deploymentId": "401",
    "deploymentUrl": null,
    "resourceName": "SimpleWorkflowWithConfirmation.bpmn",
    "diagramResourceName": null,
    "category": "http://www.activiti.org/processdef",
    "graphicalNotationDefined": false,
    "suspended": false,
    "startFormDefined": false
}