Element signalEventDefinition = intermediateEventElement.element("signalEventDefinition");
Element messageEventDefinition = intermediateEventElement.element("messageEventDefinition");
Element linkEventDefinitionElement = intermediateEventElement.element("linkEventDefinition");
// shared by all events except for link event
IntermediateCatchEventActivityBehavior defaultCatchBehaviour = new IntermediateCatchEventActivityBehavior(isAfterEventBasedGateway);
parseAsynchronousContinuation(intermediateEventElement, nestedActivity);
if(isAfterEventBasedGateway) {
nestedActivity.setCancelScope(true);