How to distinguish cancel end event vs normal end event?

Hey community,

Is there some way to distinguish (in Flowable) cancel end event vs normal end event after process ends? I am using now Activiti 5.22 where I wanted to get process activities, but all end events (error, cancel, terminate and normal end event) has eventType ‘endEvent’ and I can not find any way to distinguish between them. Is somehting like this available in Flowable?


What you could do is to check endEvent type in the definition.