AnsweredAssumed Answered

HistoricProcessInstance inside PROCESS_STARTED event in Activiti 5.22?

Question asked by oszust002 on Oct 5, 2018

I have EventListener which listens to PROCESS_STARTED event. For archiving reasons I need to get both ProcessInstance and HistoricProcessInstance of process. The problem is, PROCESS_STARTED fires before flushing data to DB so query for it returns null. Is there any other slution to get HistoricProcessInstance from this event?