2023-03-03 21:47:23 +00:00
|
|
|
using Elsa.Mediator.Contracts;
|
2023-01-04 19:36:38 +00:00
|
|
|
|
|
|
|
|
namespace Elsa.Workflows.Runtime.Notifications;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A domain event that applications can subscribe to in order to handle tasks requested by a workflow.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="TaskId">A unique identifier for an individual task request.</param>
|
|
|
|
|
/// <param name="TaskName">The name of the task requested to run.</param>
|
2023-02-27 13:14:50 +00:00
|
|
|
/// <param name="TaskParams">AnyAsync parameters supplied by the requester of the task.</param>
|
2023-01-04 19:36:38 +00:00
|
|
|
public record RunTaskRequest(string TaskId, string TaskName, object? TaskParams) : INotification;
|