@Override
protected FlowElement convertJsonToElement(JsonNode elementNode,JsonNode modelNode, Map<String, JsonNode> shapeMap) {
SequenceFlow flow = Bpmn2Factory.eINSTANCE.createSequenceFlow();// SequenceFlow();
String conditionString = getPropertyValueAsString(PROPERTY_SEQUENCEFLOW_CONDITION, elementNode);
if (conditionString != null && StringUtil.isNotEmpty(conditionString)) {
FormalExpression formalExpression = Bpmn2Factory.eINSTANCE.createFormalExpression();
//formalExpression.setId("aaaaa");
formalExpression.setBody(conditionString);
flow.setConditionExpression(formalExpression);
}
String orderId = getPropertyValueAsString(PROPERTY_SEQUENCEFLOW_ORDERID, elementNode);
if (orderId != null && StringUtil.isNotEmpty(orderId)) {
BpmnModelUtil.addExtensionAttribute(flow, FixFlowPackage.Literals.DOCUMENT_ROOT__ORDER_ID, orderId);