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
This commit is contained in:
Sipke Schoorstra 2024-04-11 07:37:53 +02:00 committed by GitHub
parent b589147258
commit c73cd05d78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,6 @@ public class FlowFork : Activity
{
var outcomes = Branches.GetOrDefault(context)?.ToArray() ?? ["Done"];
await context.ScheduleOutcomesAsync(outcomes);
await context.CompleteActivityWithOutcomesAsync(outcomes);
}
}