private void registerScheduleInfoForApprovedGroup(ScheduleInfo scheduleInfo, String operator) {
        String groupId = scheduleInfo.getInlongGroupId();
        InlongGroupExtEntity scheduleStatusExt =
                groupExtMapper.selectByUniqueKey(groupId, InlongConstants.REGISTER_SCHEDULE_STATUS);
        if (scheduleStatusExt != null && InlongConstants.REGISTERED.equalsIgnoreCase(scheduleStatusExt.getKeyValue())) {
            // change schedule state to approved
            scheduleService.updateStatus(scheduleInfo.getInlongGroupId(), APPROVED, operator);
            registerToScheduleEngine(scheduleInfo, operator, false);
            LOGGER.info("Register schedule info success for group {}", groupId);
        }
    }
If an inlong group in DATASYNC_OFFLINE_MODE created first without schedule info and has been approved, it should
be registered to schedule engine once the schedule info for this group is added.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/schedule/ScheduleOperatorImpl.java