docs: public ActivityImpl createActivityOnScope(Element activityElement, ScopeImpl scopeElement) {
      String id = activityElement.attribute("id");
  
      LOG.parsingElement("activity", id);
      ActivityImpl activity = scopeElement.createActivity(id);
  
      activity.setProperty("name", activityElement.attribute("name"));
      activity.setProperty("documentation", parseDocumentation(activityElement));
      activity.setProperty("default", activityElement.attribute("default"));
      activity.getProperties().set(BpmnProperties.TYPE, activityElement.getTagName());
      activity.setProperty("line", activityElement.getLine());
      setActivityAsyncDelegates(activity);
      activity.setProperty(PROPERTYNAME_JOB_PRIORITY, parsePriority(activityElement, PROPERTYNAME_JOB_PRIORITY));
  
      if (isCompensationHandler(activityElement)) {
        activity.setProperty(PROPERTYNAME_IS_FOR_COMPENSATION, true);
      }
  
      return activity;
    }