private void registerExternalEventNodeListeners() {
for (Node node: getCompositeNode().getNodes()) {
if (node instanceof EventNode) {
if ("external".equals(((EventNode) node).getScope())) {
((ProcessInstance) getProcessInstance()).addEventListener(
((EventNode) node).getType(), new EventListener() {
public String[] getEventTypes() {
return null;
}
public void signalEvent(String type, Object event) {
}