Anchorage API reference
    Preparing search index...
    • Idempotently closes every open approval for a terminal run. This is lifecycle bookkeeping, not a reviewer decision: it uses the service's rejected CAS path, never calls resume, and an abandoned record can never participate in grant minting.

      Parameters

      • service: ApprovalService
      • workflowId: string
      • runId: string
      • terminalStatus: "cancelled" | "timed_out"
      • systemPrincipalId: string

      Returns Promise<ApprovalRecord[]>