Skip to content
ModularityKit.Mutator ModularityKit.Mutator Docs
  • Home
  • Core
  • Governance
  • Redis
  • API
Search Results for

    Governance ApprovalWorkflow

    This example shows the governance approval workflow built on top of MutationRequestFactory.PendingApproval(...) and MutationRequestApprovalWorkflowManager.

    It demonstrates:

    • mapping PolicyRequirement into request-level approval requirements
    • multi-actor approvals in the same step
    • ordered approval steps
    • transition from Pending to Approved after the final approval

    Key files

    • Program.cs
    • Scenarios/GovernanceApprovalWorkflowScenario.cs
    • src/Governance/Runtime/Approval/MutationRequestApprovalWorkflowManager.cs
    • src/Governance/Abstractions/Approval/MutationApprovalRequirement.cs

    Run

    dotnet run --project Examples/Governance/ApprovalWorkflow/ApprovalWorkflow.csproj
    
    • Edit this page
    In this article
    ModularityKit.Mutator Generated from XML docs and published from main. Back to top