using Elsa.Mediator.Contracts; namespace Elsa.Workflows.Runtime.Notifications; /// /// A domain event that applications can subscribe to in order to handle tasks requested by a workflow. /// /// A unique identifier for an individual task request. /// The name of the task requested to run. /// AnyAsync parameters supplied by the requester of the task. public record RunTaskRequest(string TaskId, string TaskName, object? TaskParams) : INotification;