From c73cd05d78e1439725fbfbc88a586d597cc9dd3f Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 11 Apr 2024 07:37:53 +0200 Subject: [PATCH] Replace ScheduleOutcomesAsync with CompleteActivityWithOutcomesAsync (#5212) In the FlowFork.cs file of the Elsa.Workflows.Core module, the method ScheduleOutcomesAsync has been replaced with CompleteActivityWithOutcomesAsync. This fixes the issue of the activity not completing. Fixes #5204 --- .../Activities/Flowchart/Activities/FlowFork.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Activities/FlowFork.cs b/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Activities/FlowFork.cs index b3a8b9486..4795cad3d 100644 --- a/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Activities/FlowFork.cs +++ b/src/modules/Elsa.Workflows.Core/Activities/Flowchart/Activities/FlowFork.cs @@ -33,6 +33,6 @@ public class FlowFork : Activity { var outcomes = Branches.GetOrDefault(context)?.ToArray() ?? ["Done"]; - await context.ScheduleOutcomesAsync(outcomes); + await context.CompleteActivityWithOutcomesAsync(outcomes); } }