Activiti 5.22 How to distinguish cancel end event vs normal end event?

cancel
Showing results for 
Search instead for 
Did you mean: 
oszust002
Active Member

Activiti 5.22 How to distinguish cancel end event vs normal end event?

Hey community,

Is there some way to distinguish cancel end event vs normal end event after process ends? 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.

2 Replies
pault
Active Member II

Re: Activiti 5.22 How to distinguish cancel end event vs normal end event?

Haven't done this myself, but I know you can give the end events an ID. Can you set the ID of the different end events and get hold of that to differentiate ?

On my system if I look at the ACT_HI_ACTINST table I can see the end events and as well as the type 'endEvent' I can also see the ID set in the BPMN defintion, in my case 'theEnd'.

oszust002
Active Member

Re: Activiti 5.22 How to distinguish cancel end event vs normal end event?

Unfortunately, I can not do this, because system is used by various users,

so I do not have certainty that they will use this id

pon., 11 lut 2019 o 19:01 pault <community@alfresco.com> napisał(a):

Alfresco Community

<https://community.alfresco.com/?et=watches.email.thread>

Re: Activiti 5.22 How to distinguish cancel end event vs normal end event?

reply from PaulT _

<https://community.alfresco.com/people/pault?et=watches.email.thread> in *Alfresco

Process Services & Activiti (BPM)* - View the full discussion

<https://community.alfresco.com/message/841544-re-activiti-522-how-to-distinguish-cancel-end-event-vs-normal-end-event?commentID=841544&et=watches.email.thread#comment-841544>