Here is an example:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/resources/BPMN2-OnEntryExitScriptProcess.bpmn2
And Demian's blog explain a little bit more about how to use this feature:
http://dcalca.wordpress.com/2011/09/03/on-enter-and-on-exit-node-actions-in-jbpm5/
Cheers
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community