From a1e40ba0f6905f7a36bebcee96c6cb7c14bc5385 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bianchi Date: Tue, 2 Jul 2024 17:40:29 +0200 Subject: [PATCH] fix(Runner): fixed missing "output" argument when processing export expression Signed-off-by: Jean-Baptiste Bianchi --- src/runner/Synapse.Runner/Services/TaskExecutor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner/Synapse.Runner/Services/TaskExecutor.cs b/src/runner/Synapse.Runner/Services/TaskExecutor.cs index cf3642234..bb444e80e 100644 --- a/src/runner/Synapse.Runner/Services/TaskExecutor.cs +++ b/src/runner/Synapse.Runner/Services/TaskExecutor.cs @@ -303,7 +303,7 @@ public virtual async Task SetResultAsync(object? result, string? then = FlowDire } else if (this.Task.Definition.Export?.As != null) { - var context = (await this.Task.Workflow.Expressions.EvaluateAsync>(this.Task.Definition.Export.As, this.Task.ContextData, this.GetExpressionEvaluationArguments(), cancellationToken).ConfigureAwait(false))!; + var context = (await this.Task.Workflow.Expressions.EvaluateAsync>(this.Task.Definition.Export.As, this.Task.ContextData, arguments, cancellationToken).ConfigureAwait(false))!; await this.Task.SetContextDataAsync(context, cancellationToken).ConfigureAwait(false); } await this.AfterExecuteAsync(cancellationToken).ConfigureAwait(false); //todo: act upon last directive