ActivityProcessor processor, BaseElement parentElement, Map<String, JsonNode> shapeMap, Map<String, List<JsonNode>> sourceAndTargetMap, Definitions model2) {
//subProcess使用
this.processor = processor;
this.model = model2;
this.sourceAndTargetMap = sourceAndTargetMap;
FlowElement flowElement = convertJsonToElement(elementNode, modelNode, shapeMap);
flowElement.setId(BpmnJsonConverterUtil.getElementId(elementNode));
flowElement.setName(getPropertyValueAsString(PROPERTY_NAME, elementNode));
String documentation = getPropertyValueAsString(PROPERTY_DOCUMENTATION, elementNode);
if(StringUtil.isNotEmpty(documentation)){
BpmnModelUtil.setDocumentation(flowElement, documentation);
}
// 这里注释掉内容以后需要恢复过来