namespace Elsa.Workflows.Runtime; /// /// Execution stats about a given activity. /// public class ActivityExecutionStats { /// /// Gets or sets the ID of the activity. /// public string ActivityId { get; set; } = null!; /// /// Gets or sets the node ID of the activity. /// public string ActivityNodeId { get; set; } = null!; /// /// Gets or sets the number of uncompleted executions. /// public long StartedCount { get; set; } /// /// Gets or sets the number of completed executions. /// public long CompletedCount { get; set; } /// /// Gets or sets the number of uncompleted executions. /// public long UncompletedCount { get; set; } /// /// Gets or sets a value whether this activity is waiting for bookmarks to be resumed. /// public bool IsBlocked { get; set; } /// /// Gets or sets a value whether this activity is faulted. /// public bool IsFaulted { get; set; } /// /// Gets or sets the total count of faults aggregated from the activity execution and its descendants. /// public int AggregateFaultCount { get; set; } }