| | | 1 | | using Elsa.Workflows.Models; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Scheduling; |
| | | 4 | | |
| | | 5 | | public class ScheduleNewWorkflowInstanceRequest |
| | | 6 | | { |
| | | 7 | | /// <summary> |
| | | 8 | | /// The ID of the workflow definition version to create an instance of. |
| | | 9 | | /// </summary> |
| | 3 | 10 | | public WorkflowDefinitionHandle WorkflowDefinitionHandle { get; set; } = null!; |
| | | 11 | | |
| | | 12 | | /// <summary> |
| | | 13 | | /// The correlation ID of the workflow, if any. |
| | | 14 | | /// </summary> |
| | 0 | 15 | | public string? CorrelationId { get; set; } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// The input to the workflow instance, if any. |
| | | 19 | | /// </summary> |
| | 3 | 20 | | public IDictionary<string, object>? Input { get; set; } |
| | | 21 | | |
| | | 22 | | /// <summary> |
| | | 23 | | /// A collection of variables to pass to the workflow instance during scheduling. |
| | | 24 | | /// </summary> |
| | 0 | 25 | | public IDictionary<string, object>? Variables { get; set; } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Any properties to assign to the workflow instance. |
| | | 29 | | /// </summary> |
| | 0 | 30 | | public IDictionary<string, object>? Properties { get; set; } |
| | | 31 | | |
| | | 32 | | /// <summary> |
| | | 33 | | /// The ID of the parent workflow instance, if any. |
| | | 34 | | /// </summary> |
| | 0 | 35 | | public string? ParentId { get; set; } |
| | | 36 | | |
| | | 37 | | /// <summary> |
| | | 38 | | /// The ID of the activity that triggered the workflow instance, if any. |
| | | 39 | | /// </summary> |
| | 3 | 40 | | public string? TriggerActivityId { get; set; } |
| | | 41 | | } |