Approval Workflows
The Approval Workflow components at frontend/agentic-workbench/src/components/ApprovalWorkflow/ provide governance controls for agent deployments and configuration changes.
Components
| Component | File | Purpose |
|---|---|---|
ApprovalWorkflowView | ApprovalWorkflowView.tsx | Main approval workflow view |
ApprovalRequestDetail | ApprovalRequestDetail.tsx | Individual request detail |
ApprovalDashboard | ApprovalDashboard.tsx | Approver 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();