public static <T extends ProcessForm> T parseProcessForm(ObjectMapper objectMapper, String form,
            WorkflowProcess process) {
        Preconditions.expectNotNull(process, "process cannot be null");
        if (StringUtils.isEmpty(form)) {
            return null;
        }

        try {
            JavaType javaType = objectMapper.constructType(process.getFormClass());
            return objectMapper.readValue(form, javaType);
        } catch (Exception e) {
            LOGGER.error("parse process form failed for {}", form, e);
            throw new FormParseException("parse process form failed, please contact administrator");
        }
    }
Parse the process form in JSON string format into a WorkflowProcess instance
inlong-manager/manager-workflow/src/main/java/org/apache/inlong/manager/workflow/util/WorkflowUtils.java