@yepengchen getting null in the response. System.out.println(processEngine.getHistoryService().createHistoricProcessInstanceQuery().finished().list().get(0).getName());
Are there any results in the processEngine.getHistoryService().createHistoricProcessInstanceQuery().finished().list() list? DId you set a name for the process instance (otherwise it is logical null is returned)?