public WorkflowResult startProcess(String groupId, String operator) {
        LOGGER.info("begin to start approve process for groupId={} by operator={}", groupId, operator);

        groupService.updateStatus(groupId, GroupStatus.TO_BE_APPROVAL.getCode(), operator);
        ApplyGroupProcessForm form = genApplyGroupProcessForm(groupId);
        WorkflowResult result = workflowService.start(ProcessName.APPLY_GROUP_PROCESS, operator, form);
        List<TaskResponse> tasks = result.getNewTasks();
        if (TaskStatus.FAILED == tasks.get(tasks.size() - 1).getStatus()) {
            throw new BusinessException(ErrorCodeEnum.WORKFLOW_START_RECORD_FAILED,
                    String.format("failed to start inlong group for groupId=%s", groupId));
        }

        LOGGER.info("success to start approve process for groupId={} by operator={}", groupId, operator);
        return result;
    }
Start a New InlongGroup for the specified inlong group id.

@param groupId inlong group id
@param operator name of operator
@return workflow result
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/group/InlongGroupProcessService.java