fix: issue fixed for triggering correct workflow definition versionId (#5979)

Co-authored-by: Sipke Schoorstra <sipkeschoorstra@outlook.com>
This commit is contained in:
sagargolu 2024-10-03 22:56:12 +05:30 committed by GitHub
parent 108e928335
commit 59164bbcf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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; }
}
}