docs: public CmmnActivity createActivity(String activityId) {
      CmmnActivity activity = new CmmnActivity(activityId, caseDefinition);
      if (activityId!=null) {
        namedActivities.put(activityId, activity);
      }
      activity.setParent(this);
      activities.add(activity);
      return activity;
    }