Element signalEventDefinition = boundaryEventElement.element("signalEventDefinition");
Element cancelEventDefinition = boundaryEventElement.element("cancelEventDefinition");
Element compensateEventDefinition = boundaryEventElement.element("compensateEventDefinition");
Element messageEventDefinition = boundaryEventElement.element("messageEventDefinition");
behavior = new BoundaryEventActivityBehavior();
if (timerEventDefinition != null) {
parseBoundaryTimerEventDefinition(timerEventDefinition, interrupting, nestedActivity);
} else if (errorEventDefinition != null) {
interrupting = true; // always interrupting