| | | 1 | | using Elsa.Api.Client.Resources.WorkflowDefinitions.Models; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Api.Client.Resources.WorkflowInstances.Models; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// A serializable shape of an <c>ActivityExecutionContext</c>. |
| | | 7 | | /// </summary> |
| | | 8 | | public class ActivityExecutionContextState |
| | | 9 | | { |
| | | 10 | | /// <summary> |
| | | 11 | | /// The ID of the activity instance. |
| | | 12 | | /// </summary> |
| | 3 | 13 | | public string Id { get; set; } = default!; |
| | | 14 | | |
| | | 15 | | /// <summary> |
| | | 16 | | /// The ID of the parent of the activity instance. |
| | | 17 | | /// </summary> |
| | 0 | 18 | | public string? ParentContextId { get; set; } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// The node ID of the scheduled activity. |
| | | 22 | | /// </summary> |
| | 3 | 23 | | public string ScheduledActivityNodeId { get; set; } = default!; |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// The node ID of the activity that owns the scheduled activity. |
| | | 27 | | /// </summary> |
| | 0 | 28 | | public string? OwnerActivityNodeId { get; set; } |
| | | 29 | | |
| | | 30 | | /// <summary> |
| | | 31 | | /// A bag of properties. |
| | | 32 | | /// </summary> |
| | 6 | 33 | | public IDictionary<string, object> Properties { get; set; } = new Dictionary<string, object>(); |
| | | 34 | | |
| | | 35 | | /// <summary> |
| | | 36 | | /// The evaluated values of the activity's properties. |
| | | 37 | | /// </summary> |
| | 3 | 38 | | public IDictionary<string, object>? ActivityState { get; set; } |
| | | 39 | | |
| | | 40 | | /// <summary> |
| | | 41 | | /// A list of dynamically created variables. |
| | | 42 | | /// </summary> |
| | 6 | 43 | | public ICollection<Variable> DynamicVariables { get; set; } = new List<Variable>(); |
| | | 44 | | } |