2023-07-25 13:12:27 +00:00
|
|
|
namespace Elsa.Workflows.Runtime.Models;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Execution stats about a given activity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ActivityExecutionStats
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the ID of the activity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActivityId { get; set; } = default!;
|
|
|
|
|
|
2023-10-25 20:46:06 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the node ID of the activity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActivityNodeId { get; set; } = default!;
|
|
|
|
|
|
2023-07-25 13:12:27 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the number of uncompleted executions.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long StartedCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the number of completed executions.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CompletedCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the number of uncompleted executions.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UncompletedCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value whether this activity is waiting for bookmarks to be resumed.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsBlocked { get; set; }
|
2023-08-21 20:45:56 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value whether this activity is faulted.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsFaulted { get; set; }
|
2023-07-25 13:12:27 +00:00
|
|
|
}
|