diff --git a/src/modules/Elsa.Workflows.Runtime/Commands/DispatchWorkflowDefinitionCommand.cs b/src/modules/Elsa.Workflows.Runtime/Commands/DispatchWorkflowDefinitionCommand.cs index 485b9ed62..8ead7ae70 100644 --- a/src/modules/Elsa.Workflows.Runtime/Commands/DispatchWorkflowDefinitionCommand.cs +++ b/src/modules/Elsa.Workflows.Runtime/Commands/DispatchWorkflowDefinitionCommand.cs @@ -8,11 +8,11 @@ namespace Elsa.Workflows.Runtime.Commands; /// public class DispatchWorkflowDefinitionCommand(string definitionVersionId) : ICommand { - public string DefinitionVersionId { get; init; } + public string DefinitionVersionId { get; init; } = definitionVersionId; public string? ParentWorkflowInstanceId { get; init; } public IDictionary? Input { get; set; } public IDictionary? Properties { get; set; } public string? CorrelationId { get; set; } public string? InstanceId { get; set; } public string? TriggerActivityId { get; set; } -} \ No newline at end of file +}