elsa-core/src/modules/Elsa.MassTransit/Messages/DispatchTriggerWorkflowsRequest.cs

14 lines
387 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
using Elsa.Workflows.Core.Serialization.Converters;
namespace Elsa.MassTransit.Messages;
public record DispatchTriggerWorkflows
(
string ActivityTypeName,
[property: JsonConverter(typeof(PolymorphicConverter))]
object BookmarkPayload,
string? CorrelationId,
string? WorkflowInstanceId,
IDictionary<string, object>? Input
);