Skip to content

Commit 113430a

Browse files
authored
[Fix-17967] Fix Parameter passing feature is unavailable in Procedure Task (#17968)
1 parent 6c5af9c commit 113430a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • dolphinscheduler-task-plugin/dolphinscheduler-task-procedure/src/main/java/org/apache/dolphinscheduler/plugin/task/procedure

dolphinscheduler-task-plugin/dolphinscheduler-task-procedure/src/main/java/org/apache/dolphinscheduler/plugin/task/procedure/ProcedureTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public void handle(TaskCallBack taskCallBack) throws TaskException {
121121
// print the output parameters to the log
122122
printOutParameter(tmpStatement, outParameterMap);
123123

124+
// set varPool
125+
taskExecutionContext.setVarPool(procedureParameters.getVarPool());
124126
setExitStatusCode(EXIT_CODE_SUCCESS);
125127
}
126128
} catch (Exception e) {

0 commit comments

Comments
 (0)