i am currently trying to get finished process Instances with processDefinitionKey("courriersArrivés") and i want to check which process instances involved the user with id "ha".
when i type this
System.out.println( historyService.createHistoricProcessInstanceQuery().processDefinitionKey("courriersArrivés").involvedUser("ha").finished().list().size());
i always got 0 😕 even i am sure that i have tasks whcih where assigned to "ha" because when the process is runnig ha recieve its tasks,but when it is finished i face this problem
So how to do that in activiti ?
Thank's in advanced 