< Summary

Information
Class: Elsa.Workflows.Runtime.Messages.RunWorkflowInstanceResponse
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Messages/RunWorkflowInstanceResponse.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 36
Line coverage: 100%
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%11100%
get_Status()100%11100%
get_SubStatus()100%11100%
get_Bookmarks()100%11100%
get_Incidents()100%11100%
get_Output()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Messages/RunWorkflowInstanceResponse.cs

#LineLine coverage
 1using Elsa.Workflows.Models;
 2
 3namespace Elsa.Workflows.Runtime.Messages;
 4
 5/// <summary>
 6/// Represents a response from running a workflow instance.
 7/// </summary>
 8public record RunWorkflowInstanceResponse
 9{
 10    /// <summary>
 11    /// The ID of the workflow instance.
 12    /// </summary>
 20213    public string WorkflowInstanceId { get; set; } = null!;
 14
 15    /// <summary>
 16    /// The status of the workflow instance.
 17    /// </summary>
 22918    public WorkflowStatus Status { get; set; }
 19
 20    /// <summary>
 21    /// The sub-status of the workflow instance.
 22    /// </summary>
 18423    public WorkflowSubStatus SubStatus { get; set; }
 24
 34525    public ICollection<Bookmark> Bookmarks { get; set; } = new List<Bookmark>();
 26
 27    /// <summary>
 28    /// Any incidents that occurred during the execution of the workflow instance.
 29    /// </summary>
 35030    public ICollection<ActivityIncident> Incidents { get; set; } = new List<ActivityIncident>();
 31
 32    /// <summary>
 33    /// The output produced by the workflow instance.
 34    /// </summary>
 16235    public IDictionary<string, object>? Output { get; set; }
 36}