Skip to content

Commit

Permalink
fix(Runner): fixed missing "output" argument when processing export e…
Browse files Browse the repository at this point in the history
…xpression

Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
  • Loading branch information
JBBianchi committed Jul 2, 2024
1 parent 11cc04b commit a1e40ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runner/Synapse.Runner/Services/TaskExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<IDictionary<string, object>>(this.Task.Definition.Export.As, this.Task.ContextData, this.GetExpressionEvaluationArguments(), cancellationToken).ConfigureAwait(false))!;
var context = (await this.Task.Workflow.Expressions.EvaluateAsync<IDictionary<string, object>>(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
Expand Down

0 comments on commit a1e40ba

Please sign in to comment.