using JetBrains.Annotations; namespace Elsa.Workflows.Runtime; /// /// Represents information about how to route a stimulus to an activity and workflow instance. /// [UsedImplicitly] public class StimulusMetadata { /// /// The ID of the workflow instance to route the stimulus to. /// public string? WorkflowInstanceId { get; set; } /// /// The correlation ID of the workflow instance to route the stimulus to. /// public string? CorrelationId { get; set; } /// /// The handle of the activity to route the stimulus to. /// public string? ActivityInstanceId { get; set; } /// /// The ID of the bookmark created by the activity to route the stimulus to. /// public string? BookmarkId { get; set; } /// /// The ID of the workflow instance that sent the stimulus. /// public string? ParentWorkflowInstanceId { get; set; } /// /// Any input that was provided by the sender. /// public IDictionary? Input { get; set; } /// /// Any properties that were provided by the sender. /// public IDictionary? Properties { get; set; } }