@Override
    public ListenerResult listen(WorkflowContext context) throws WorkflowListenerException {
        InlongGroupApproveForm form = (InlongGroupApproveForm) context.getActionContext().getForm();
        List<GroupApproveFullRequest> approveRequestList = form.getApproveFullRequest();
        for (GroupApproveFullRequest request : approveRequestList) {
            InlongGroupApproveRequest approveInfo = request.getGroupApproveInfo();
            String groupId = approveInfo.getInlongGroupId();
            log.info("begin to execute AfterApprovedTaskListener for groupId={}", groupId);

            // save the inlong group and other info after approval
            groupService.updateAfterApprove(approveInfo, context.getOperator());
            streamService.updateAfterApprove(request.getStreamApproveInfoList(), context.getOperator());

            log.info("success to execute AfterApprovedTaskListener for groupId={}", groupId);
        }
        return ListenerResult.success();
    }
After approval, persist the modified info during the approval in DB.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/group/apply/AfterApprovedTaskListener.java