code: public BoundaryConditionalEventActivityBehavior parseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity) {
      conditionalActivity.getProperties().set(BpmnProperties.TYPE, ActivityTypes.BOUNDARY_CONDITIONAL);
  
      ConditionalEventDefinition conditionalEventDefinition = parseConditionalEventDefinition(element, conditionalActivity);
      conditionalEventDefinition.setInterrupting(interrupting);
      addEventSubscriptionDeclaration(conditionalEventDefinition, conditionalActivity.getEventScope(), element);
  
      for (BpmnParseListener parseListener : parseListeners) {
        parseListener.parseBoundaryConditionalEventDefinition(element, interrupting, conditionalActivity);
      }
  
      return new BoundaryConditionalEventActivityBehavior(conditionalEventDefinition);
    }
docs: Parses the given element as conditional boundary event.
  
  @param element the XML element which contains the conditional event information
  @param interrupting indicates if the event is interrupting or not
  @param conditionalActivity the conditional event activity
  @return the boundary conditional event behavior which contains the condition