activiti model 转换

String bpmmodelString=workFlowTransFormEntityInfo.getBpmnModel();

ObjectMapper mapper = new ObjectMapper();
JsonNode actualObj = null;
try {
actualObj = mapper.readTree(bpmmodelString);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
BpmnJsonConverter jsonConverter2 = new BpmnJsonConverter();
BpmnModel bpmnModel_DB= jsonConverter2.convertToBpmnModel(actualObj);

posted @ 2019-07-29 11:22  applekingghfhfhbr  阅读(394)  评论(0编辑  收藏  举报