@Override
    public ListenerResult listen(WorkflowContext context) throws Exception {
        GroupResourceProcessForm form = (GroupResourceProcessForm) context.getProcessForm();
        String groupId = form.getInlongGroupId();
        log.info("begin to execute UpdateGroupFailedListener for groupId={}", groupId);

        // update inlong group status and other info
        String operator = context.getOperator();
        // delete process failed, then change the group status to [CONFIG_FAILED]
        groupService.updateStatus(groupId, GroupStatus.CONFIG_FAILED.getCode(), operator);
        groupService.update(form.getGroupInfo().genRequest(), operator);

        log.info("success to execute UpdateGroupFailedListener for groupId={}", groupId);
        return ListenerResult.success();
    }
The listener of InlongGroup when update operates failed.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/group/UpdateGroupFailedListener.java