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

        groupService.updateStatus(groupId, GroupStatus.CONFIG_OFFLINE_ING.getCode(), operator);
        InlongGroupInfo groupInfo = groupService.get(groupId);
        GroupResourceProcessForm form = genGroupResourceProcessForm(groupInfo, GroupOperateType.SUSPEND);
        WorkflowResult result = workflowService.start(ProcessName.SUSPEND_GROUP_PROCESS, operator, form);
        List<TaskResponse> tasks = result.getNewTasks();
        if (TaskStatus.FAILED == tasks.get(tasks.size() - 1).getStatus()) {
            throw new BusinessException(ErrorCodeEnum.WORKFLOW_SUSPEND_RECORD_FAILED,
                    String.format("failed to suspend inlong group for groupId=%s", groupId));
        }

        LOGGER.info("success to suspend process for groupId={} by operator={}", groupId, operator);
        return result;
    }
Suspend InlongGroup which is started up successfully.

@param groupId inlong group id
@param operator name of operator
@return workflow result
@apiNote Stop source and sort task related to the inlong group asynchronously, persist the status if
        necessary.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/group/InlongGroupProcessService.java