AnsweredAssumed Answered

CDI BusinessProcessEvent @Observer, detecting ProcessInstance start

Question asked by mason on Aug 31, 2013
Latest reply on Feb 18, 2014 by paulo1
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?