🐛 Display correct expression result for not first output data

This commit is contained in:
Jan Oberhauser 2021-12-24 10:10:13 +01:00
parent 48f0f71f95
commit 205ae0986f

View file

@ -389,7 +389,6 @@ export const workflowHelpers = mixins(
resolveParameter(parameter: NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[]) {
const inputIndex = 0;
const itemIndex = 0;
const runIndex = 0;
const inputName = 'main';
@ -397,6 +396,7 @@ export const workflowHelpers = mixins(
const workflow = this.getWorkflow();
const parentNode = workflow.getParentNodes(activeNode.name, inputName, 1);
const executionData = this.$store.getters.getWorkflowExecution as IExecutionResponse | null;
const inputIndex = workflow.getNodeConnectionOutputIndex(activeNode!.name, parentNode[0]) || 0;
let connectionInputData = this.connectionInputData(parentNode, inputName, runIndex, inputIndex);
let runExecutionData: IRunExecutionData;