Element timerEventDefinition = startEventElement.element("timerEventDefinition");
if (isTriggeredByEvent) { // event subprocess
// all start events of an event subprocess share common behavior
EventSubProcessStartEventActivityBehavior activityBehavior = new EventSubProcessStartEventActivityBehavior();
startEventActivity.setActivityBehavior(activityBehavior);
String isInterrupting = startEventElement.attribute("isInterrupting");
boolean interrupting = isInterrupting.equalsIgnoreCase("true");