Hello all. I am using the Activiti-CDI module, a CDI observer, @Observes BusinessProcessEvent businessProcessEvent. All of that is working perfectly. I would like to be able to run some code when a ProcessInstance is started or before it's destroyed. I've been trying to figure out a way to see what node type the BusinessProcessEvent is at, for example a Start Event or an End Event, but have been unable to do so. Any pointers on how I can do that?
Thanks,
Mason