This content has been marked as final.
Show 1 reply
-
1. Re: are there event handlers at the process definition level
jbossphan Oct 20, 2009 2:30 PM (in response to bwestrich)The http://docs.jboss.com/jbpm/v4/schemadocs allows this although event handling has changed.
The syntax for events changed from:<event type="transition"> <action class="MyGlobalTransitionHandler" config-type="field"> </event>
to:<on event="take"> <event-handler class="MyGlobalTransitionHandler"/> </on>
I think the event name for a transition is now "take" although I haven't tried this. Because of changes in the underlying environment I have been able to get rid of "global" event handlers in 4.1.