< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowInstances.ExecutionState.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowInstances/ExecutionState/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 19
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_WorkflowInstanceId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowInstances/ExecutionState/Models.cs

#LineLine coverage
 1using FastEndpoints;
 2
 3namespace Elsa.Workflows.Api.Endpoints.WorkflowInstances.ExecutionState;
 4
 5/// <summary>
 6/// The request to check the execution state of the workflow instance.
 7/// </summary>
 8public class Request
 9{
 10    /// <summary>
 11    /// The unique identifier of a workflow instance.
 12    /// </summary>
 013    [BindFrom("id")] public string WorkflowInstanceId { get; set; } = default!;
 14}
 15
 16/// <summary>
 17/// Represents the response containing the last updated timestamp of a workflow instance.
 18/// </summary>
 19public record Response(WorkflowStatus Status, WorkflowSubStatus SubStatus, DateTimeOffset UpdatedAt);

Methods/Properties

get_WorkflowInstanceId()