We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9406d3 commit 703d790Copy full SHA for 703d790
dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/task/AbstractParameters.java
@@ -115,12 +115,15 @@ public void dealOutParam(String result) {
115
return;
116
}
117
Map<String, String> taskResult = getMapByString(result);
118
- if (taskResult == null || taskResult.size() == 0) {
+ if (taskResult.size() == 0) {
119
120
121
for (Property info : outProperty) {
122
- info.setValue(taskResult.get(info.getProp()));
123
- varPool.add(info);
+ String propValue = taskResult.get(info.getProp());
+ if (StringUtils.isNotEmpty(propValue)) {
124
+ info.setValue(propValue);
125
+ varPool.add(info);
126
+ }
127
128
129
0 commit comments