| | | 1 | | namespace Elsa.Workflows.Runtime; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// Execution stats about a given activity. |
| | | 5 | | /// </summary> |
| | | 6 | | public class ActivityExecutionStats |
| | | 7 | | { |
| | | 8 | | /// <summary> |
| | | 9 | | /// Gets or sets the ID of the activity. |
| | | 10 | | /// </summary> |
| | 0 | 11 | | public string ActivityId { get; set; } = null!; |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// Gets or sets the node ID of the activity. |
| | | 15 | | /// </summary> |
| | 0 | 16 | | public string ActivityNodeId { get; set; } = null!; |
| | | 17 | | |
| | | 18 | | /// <summary> |
| | | 19 | | /// Gets or sets the number of uncompleted executions. |
| | | 20 | | /// </summary> |
| | 0 | 21 | | public long StartedCount { get; set; } |
| | | 22 | | |
| | | 23 | | /// <summary> |
| | | 24 | | /// Gets or sets the number of completed executions. |
| | | 25 | | /// </summary> |
| | 0 | 26 | | public long CompletedCount { get; set; } |
| | | 27 | | |
| | | 28 | | /// <summary> |
| | | 29 | | /// Gets or sets the number of uncompleted executions. |
| | | 30 | | /// </summary> |
| | 0 | 31 | | public long UncompletedCount { get; set; } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// Gets or sets a value whether this activity is waiting for bookmarks to be resumed. |
| | | 35 | | /// </summary> |
| | 0 | 36 | | public bool IsBlocked { get; set; } |
| | | 37 | | |
| | | 38 | | /// <summary> |
| | | 39 | | /// Gets or sets a value whether this activity is faulted. |
| | | 40 | | /// </summary> |
| | 0 | 41 | | public bool IsFaulted { get; set; } |
| | | 42 | | |
| | | 43 | | /// <summary> |
| | | 44 | | /// Gets or sets the total count of faults aggregated from the activity execution and its descendants. |
| | | 45 | | /// </summary> |
| | 0 | 46 | | public int AggregateFaultCount { get; set; } |
| | | 47 | | |
| | | 48 | | /// <summary> |
| | | 49 | | /// Gets or sets metadata related to the activity execution. |
| | | 50 | | /// </summary> |
| | 0 | 51 | | public IDictionary<string, object>? Metadata { get; set; } |
| | | 52 | | } |