Class ApprovalStep
- Namespace
- Excalibur.A3.Governance.Provisioning
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Represents a concrete approval step within a ProvisioningRequest.
public sealed record ApprovalStep : IEquatable<ApprovalStep>
- Inheritance
-
ApprovalStep
- Implements
- Inherited Members
Remarks
Created from an ApprovalStepTemplate when a provisioning request enters review. Tracks the actual decision, justification, and decider.
Constructors
ApprovalStep(string, string, ApprovalOutcome?, string?, DateTimeOffset?, string?)
Represents a concrete approval step within a ProvisioningRequest.
public ApprovalStep(string StepId, string ApproverRole, ApprovalOutcome? Outcome, string? Justification, DateTimeOffset? DecidedAt, string? DecidedBy)
Parameters
StepIdstringUnique identifier for this step instance.
ApproverRolestringThe role required to approve this step.
OutcomeApprovalOutcome?The approval outcome, or null if not yet decided.
JustificationstringOptional justification provided by the decider.
DecidedAtDateTimeOffset?When the decision was made, or null if pending.
DecidedBystringThe identity of the decider, or null if pending.
Remarks
Created from an ApprovalStepTemplate when a provisioning request enters review. Tracks the actual decision, justification, and decider.
Properties
ApproverRole
The role required to approve this step.
public string ApproverRole { get; init; }
Property Value
DecidedAt
When the decision was made, or null if pending.
public DateTimeOffset? DecidedAt { get; init; }
Property Value
DecidedBy
The identity of the decider, or null if pending.
public string? DecidedBy { get; init; }
Property Value
Justification
Optional justification provided by the decider.
public string? Justification { get; init; }
Property Value
Outcome
The approval outcome, or null if not yet decided.
public ApprovalOutcome? Outcome { get; init; }
Property Value
StepId
Unique identifier for this step instance.
public string StepId { get; init; }