fix 修复 listenerVariable.getVariable() 获取null问题

This commit is contained in:
疯狂的狮子Li
2025-12-19 09:36:14 +08:00
parent 35a9e4c8e8
commit dac447b76f

View File

@@ -74,6 +74,9 @@ public class WorkflowGlobalListener implements GlobalListener {
String ext = listenerVariable.getNode().getExt();
if (StringUtils.isNotBlank(ext)) {
Map<String, Object> variable = listenerVariable.getVariable();
if (CollUtil.isNotEmpty(variable)) {
variable = new HashMap<>();
}
NodeExtVo nodeExt = nodeExtService.parseNodeExt(ext, variable);
Set<String> copyList = nodeExt.getCopySettings();
if (CollUtil.isNotEmpty(copyList)) {