public static ProcessResponse getProcessResponse(WorkflowProcessEntity entity) {
        if (entity == null) {
            return null;
        }

        ProcessResponse processResponse = ProcessResponse.builder()
                .id(entity.getId())
                .name(entity.getName())
                .displayName(entity.getDisplayName())
                .type(entity.getType())
                .title(entity.getTitle())
                .applicant(entity.getApplicant())
                .status(ProcessStatus.valueOf(entity.getStatus()))
                .startTime(entity.getStartTime())
                .endTime(entity.getEndTime())
                .build();
        try {
            if (StringUtils.isNotBlank(entity.getFormData())) {
                processResponse.setFormData(JsonUtils.parseTree(entity.getFormData()));
            }
            if (StringUtils.isNotBlank(entity.getExtParams())) {
                processResponse.setExtParams(JsonUtils.parseTree(entity.getExtParams()));
            }
        } catch (Exception e) {
            LOGGER.error("parse process form error: ", e);
            throw new JsonException("parse process form or ext params error, please contact administrator");
        }

        return processResponse;
    }
Get process response from process entity
inlong-manager/manager-workflow/src/main/java/org/apache/inlong/manager/workflow/util/WorkflowUtils.java