Skip to content

Commit

Permalink
fix: issue fixed for triggering correct workflow definition versionId (
Browse files Browse the repository at this point in the history
…#5979)

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
  • Loading branch information
sagargolu and sfmskywalker authored Oct 3, 2024
1 parent 108e928 commit 59164bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ namespace Elsa.Workflows.Runtime.Commands;
/// </summary>
public class DispatchWorkflowDefinitionCommand(string definitionVersionId) : ICommand<Unit>
{
public string DefinitionVersionId { get; init; }
public string DefinitionVersionId { get; init; } = definitionVersionId;
public string? ParentWorkflowInstanceId { get; init; }
public IDictionary<string, object>? Input { get; set; }
public IDictionary<string, object>? Properties { get; set; }
public string? CorrelationId { get; set; }
public string? InstanceId { get; set; }
public string? TriggerActivityId { get; set; }
}
}

0 comments on commit 59164bb

Please sign in to comment.