| | | 1 | | using JetBrains.Annotations; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Workflows.Runtime; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Represents information about how to route a stimulus to an activity and workflow instance. |
| | | 7 | | /// </summary> |
| | | 8 | | [UsedImplicitly] |
| | | 9 | | public class StimulusMetadata |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// The ID of the workflow instance to route the stimulus to. |
| | | 13 | | /// </summary> |
| | 18 | 14 | | public string? WorkflowInstanceId { get; set; } |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// The correlation ID of the workflow instance to route the stimulus to. |
| | | 18 | | /// </summary> |
| | 17 | 19 | | public string? CorrelationId { get; set; } |
| | | 20 | | |
| | | 21 | | /// <summary> |
| | | 22 | | /// The handle of the activity to route the stimulus to. |
| | | 23 | | /// </summary> |
| | 19 | 24 | | public string? ActivityInstanceId { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// The ID of the bookmark created by the activity to route the stimulus to. |
| | | 28 | | /// </summary> |
| | 12 | 29 | | public string? BookmarkId { get; set; } |
| | | 30 | | |
| | | 31 | | /// <summary> |
| | | 32 | | /// The ID of the workflow instance that sent the stimulus. |
| | | 33 | | /// </summary> |
| | 4 | 34 | | public string? ParentWorkflowInstanceId { get; set; } |
| | | 35 | | |
| | | 36 | | /// <summary> |
| | | 37 | | /// Any input that was provided by the sender. |
| | | 38 | | /// </summary> |
| | 14 | 39 | | public IDictionary<string, object>? Input { get; set; } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// Any properties that were provided by the sender. |
| | | 43 | | /// </summary> |
| | 9 | 44 | | public IDictionary<string, object>? Properties { get; set; } |
| | | 45 | | } |