02-11-2019 07:36 AM
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.
02-11-2019 12:59 PM
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'.
02-11-2019 02:22 PM
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>
Explore our Alfresco products with the links below. Use labels to filter content by product module.