| | | 1 | | using Elsa.Workflows.Models; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Workflows.Options; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Provides options for running a workflow. |
| | | 7 | | /// </summary> |
| | | 8 | | public class RunWorkflowOptions |
| | | 9 | | { |
| | 620 | 10 | | public string? WorkflowInstanceId { get; set; } |
| | 741 | 11 | | public string? CorrelationId { get; set; } |
| | 266 | 12 | | public string? BookmarkId { get; set; } |
| | 266 | 13 | | public ActivityHandle? ActivityHandle { get; set; } |
| | 890 | 14 | | public IDictionary<string, object>? Input { get; set; } |
| | 264 | 15 | | public IDictionary<string, object>? Variables { get; set; } |
| | 799 | 16 | | public IDictionary<string, object>? Properties { get; set; } |
| | 852 | 17 | | public string? TriggerActivityId { get; set; } |
| | 475 | 18 | | public string? ParentWorkflowInstanceId { get; set; } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// The ID of the activity execution context that scheduled this workflow execution (for cross-workflow call stack t |
| | | 22 | | /// This is set when a parent workflow invokes this workflow via ExecuteWorkflow or DispatchWorkflow. |
| | | 23 | | /// </summary> |
| | 563 | 24 | | public string? SchedulingActivityExecutionId { get; set; } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// The workflow instance ID of the parent workflow that scheduled this workflow execution. |
| | | 28 | | /// This is set when crossing workflow boundaries. |
| | | 29 | | /// </summary> |
| | 563 | 30 | | public string? SchedulingWorkflowInstanceId { get; set; } |
| | | 31 | | |
| | | 32 | | /// <summary> |
| | | 33 | | /// The call stack depth of the scheduling activity execution context. |
| | | 34 | | /// This is used to calculate the call stack depth when the scheduling context is not present |
| | | 35 | | /// in ActivityExecutionContexts (e.g., for cross-workflow invocations). |
| | | 36 | | /// Should be set to the depth of the scheduling activity (not depth + 1, as the increment is applied automatically) |
| | | 37 | | /// </summary> |
| | 563 | 38 | | public int? SchedulingCallStackDepth { get; set; } |
| | | 39 | | } |