MATIH Platform is in active MVP development. Documentation reflects current implementation status.
15. Workbench Architecture
Approval Workflows

Approval Workflows

The Approval Workflow components at frontend/agentic-workbench/src/components/ApprovalWorkflow/ provide governance controls for agent deployments and configuration changes.


Components

ComponentFilePurpose
ApprovalWorkflowViewApprovalWorkflowView.tsxMain approval workflow view
ApprovalRequestDetailApprovalRequestDetail.tsxIndividual request detail
ApprovalDashboardApprovalDashboard.tsxApprover dashboard

Features

  • Multi-level approval chains
  • Role-based approval routing
  • Approval with comments
  • Rejection with required reason
  • Automated escalation for timeout
  • Audit trail of all decisions
  • Integration with notification service

useApprovalWorkflow Hook

const {
  pendingRequests,
  myRequests,
  approve,
  reject,
  escalate,
  requestApproval,
} = useApprovalWorkflow();