AnsweredAssumed Answered

ConvertToBpmnModel  Listeners Lost

Question asked by arge on Oct 16, 2018

use  the function        new BpmnJsonConverter().convertToBpmnModel(modelNode)  to get bpmn,The Listeners is lost,my version is 5.22 .the modeldata is create by activiti explorer.

this is my code:

Model modelData = repositoryService.getModel(modelId);
ObjectNode modelNode = (ObjectNode) new ObjectMapper()
.readTree(repositoryService.getModelEditorSource(modelData.getId()));

BpmnModel model = new BpmnJsonConverter().convertToBpmnModel(modelNode);

What can I do?@

Outcomes