< Summary

Information
Class: Elsa.Workflows.Api.Endpoints.WorkflowInstances.Journal.GetLastEntry.Request
Assembly: Elsa.Workflows.Api
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Api/Endpoints/WorkflowInstances/Journal/GetLastEntry/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 18
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%
get_ActivityId()100%210%

File(s)

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

#LineLine coverage
 1namespace Elsa.Workflows.Api.Endpoints.WorkflowInstances.Journal.GetLastEntry;
 2
 3/// <summary>
 4/// A request to get the last entry for the specified workflow instance and activity ID.
 5/// </summary>
 6public class Request
 7{
 8    /// <summary>
 9    /// The ID of the workflow instance to get the last entry for.
 10    /// </summary>
 011    public string WorkflowInstanceId { get; set; } = default!;
 12
 13
 14    /// <summary>
 15    /// The ID of the activity to get the last entry for.
 16    /// </summary>
 017    public string ActivityId { get; set; } = default!;
 18}