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.
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'.
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>
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.