Hei guys, how can I get all the transitions before the current step?
Yeah, I forgot sorry, i need to do it through Java Api. Is there any way?
As long as you have access to the process engine you can query
execution.getProcessEngineServices().getHistoryService() .createHistoricActivityInstanceQuery() .processInstanceId("someProcess") .list();
Thank you so much kind sir.
Sorry for double posting, your solution works fine, but it doesn’t include the sequence flows, is there any way i can retrieve those too?
Sequence flows are not stored in history - is there a specific reason why you need the sequence flows?
Details, we have a table with all the processes ongoing and when you click on one of them you get all the info about it.