Change version option in WorkflowDefinitionManager

The version option in the WorkflowDefinitionManager has been updated. Previously it was set to "LatestAndPublished", but this has been changed to "LatestOrPublished", adjusting the way the manager handles workflow versions.
This commit is contained in:
Sipke Schoorstra 2024-03-05 20:41:19 +01:00
parent 8e619e49e6
commit 0d2adf297b

View file

@ -128,7 +128,7 @@ public class WorkflowDefinitionManager : IWorkflowDefinitionManager
var workflowDefinitions = (await _store.FindManyAsync(new WorkflowDefinitionFilter
{
VersionOptions = VersionOptions.LatestAndPublished
VersionOptions = VersionOptions.LatestOrPublished
}, cancellationToken)).ToList();
// Remove the dependency from the list of workflow definitions to consider.