How can I get the past transitions?


Hei guys, how can I get all the transitions before the current step?


Check the History
Accessible via REST
Has previous steps


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



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.