SbloodyS commented on code in PR #14552:
URL:
https://github.com/apache/dolphinscheduler/pull/14552#discussion_r1266547272
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThreadPool.java:
##########
@@ -182,6 +185,18 @@ private void notifyProcessChanged(ProcessInstance
finishProcessInstance) {
}
}
+ private void crossWorkflowParameterPassing(ProcessInstance
finishProcessInstance, TaskInstance taskInstance) {
+ try {
+ MasterTaskExecuteRunnable masterTaskExecuteRunnable =
+
MasterTaskExecuteRunnableHolder.getMasterTaskExecuteRunnable(taskInstance.getId());
+ masterTaskExecuteRunnable.getILogicTask().getTaskParameters()
+ .setVarPool(finishProcessInstance.getVarPool());
+ log.info("Cross workflow parameter passing success,
processInstanceId: {}, taskInstanceId");
Review Comment:
Exception error log should add too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]