This is a test of the BpmnParseHandler interface. Spefically, it demonstrates how to use the parse handler in the manner described here to register an ExecutionListener that responds to:
- The start of a new process
- The end of a script task
I put this repo together because I'm not able to register execution listeners with the BPMN Parse Handler, but I am able to do so with execution listener extensions coded into the BPMN XML.
Build the project with mvn clean install
at the repo root, and you'll see there are two tests. The encoded BPMN XML test behaves as expected, but the dynamic extension registration fails to produce an execution listener.
Here's a screencap from the debugger of the test that passes:
Here's a screencap from the debugger of the test that fails: