Class ApprovalStepTemplate
- Namespace
- Excalibur.A3.Governance.Provisioning
- Assembly
- Excalibur.A3.Governance.Abstractions.dll
Defines a template for an approval step in a provisioning workflow.
public sealed record ApprovalStepTemplate : IEquatable<ApprovalStepTemplate>
- Inheritance
-
ApprovalStepTemplate
- Implements
- Inherited Members
Remarks
Templates describe the required approval steps before they are instantiated
as concrete ApprovalStep records on a ProvisioningRequest.
Constructors
ApprovalStepTemplate(int, string, bool, ApprovalCondition, int?)
Defines a template for an approval step in a provisioning workflow.
public ApprovalStepTemplate(int StepOrder, string ApproverRole, bool IsRequired, ApprovalCondition Condition = ApprovalCondition.Always, int? ConditionThreshold = null)
Parameters
StepOrderintThe ordinal position of this step in the workflow (1-based).
ApproverRolestringThe role required to approve this step (e.g., "Manager", "SecurityOfficer").
IsRequiredboolWhether this step must be completed for the request to proceed.
ConditionApprovalConditionThe condition under which this step applies.
ConditionThresholdint?Optional threshold for condition evaluation (e.g., risk score threshold for RiskScoreAbove).
Remarks
Templates describe the required approval steps before they are instantiated
as concrete ApprovalStep records on a ProvisioningRequest.
Properties
ApproverRole
The role required to approve this step (e.g., "Manager", "SecurityOfficer").
public string ApproverRole { get; init; }
Property Value
Condition
The condition under which this step applies.
public ApprovalCondition Condition { get; init; }
Property Value
ConditionThreshold
Optional threshold for condition evaluation (e.g., risk score threshold for RiskScoreAbove).
public int? ConditionThreshold { get; init; }
Property Value
- int?
IsRequired
Whether this step must be completed for the request to proceed.
public bool IsRequired { get; init; }
Property Value
StepOrder
The ordinal position of this step in the workflow (1-based).
public int StepOrder { get; init; }