wfElementInstanceMap.put(activity.getId(), activityInstance);
}
//同步器节点
List<Synchronizer> synchronizers = workflowProcess.getSynchronizers();
for (int i = 0; i < synchronizers.size(); i++) {
Synchronizer synchronizer = synchronizers.get(i);
SynchronizerInstance synchronizerInstance = new SynchronizerInstance(synchronizer);
extensionList = kenelExtensions.get(synchronizerInstance.getExtensionTargetName());
for (int j = 0; extensionList != null && j < extensionList.size(); j++) {
IKernelExtension extension = extensionList.get(j);
synchronizerInstance.registExtension(extension);
}
wfElementInstanceMap.put(synchronizer.getId(), synchronizerInstance);
}
//结束节点
List<EndNode> endNodes = workflowProcess.getEndNodes();
for (int i = 0; i < endNodes.size(); i++) {