Skip to content

Commit

Permalink
to #9595: fix param lost when execute failed task (#10646)
Browse files Browse the repository at this point in the history
Co-authored-by: 宏豁 <honghuo.zw@alibaba-inc.com>
  • Loading branch information
zwZjut and 宏豁 authored Jun 28, 2022
1 parent 7d91ad3 commit a86ce45
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,10 @@ public void getPreVarPool(TaskInstance taskInstance, Set<String> preTask) {
if (allProperty.size() > 0) {
taskInstance.setVarPool(JSONUtils.toJsonString(allProperty.values()));
}
} else {
if (StringUtils.isNotEmpty(processInstance.getVarPool())) {
taskInstance.setVarPool(processInstance.getVarPool());
}
}
}

Expand Down

0 comments on commit a86ce45

Please sign in to comment.