diff --git a/ui/src/app/shared/workflow/node/run/node.run.param.component.ts b/ui/src/app/shared/workflow/node/run/node.run.param.component.ts index e0441accee..825ae1dfb6 100644 --- a/ui/src/app/shared/workflow/node/run/node.run.param.component.ts +++ b/ui/src/app/shared/workflow/node/run/node.run.param.component.ts @@ -326,7 +326,7 @@ export class WorkflowNodeRunParamComponent implements AfterViewInit, OnDestroy { private updateDefaultPipelineParameters() { if (this.nodeToRun) { - let pipToRun = Workflow.getPipeline(this.workflow, this.nodeToRun); + let pipToRun = Workflow.getPipeline(this.currentWorkflowRun ? this.currentWorkflowRun.workflow : this.workflow, this.nodeToRun); if (!pipToRun) { return; }