Documentation Index
Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt
Use this file to discover all available pages before exploring further.
APPROVAL steps model an explicit authorization gate in an Activity. Use them when the process must pause until an authorized person or role approves the next move.
For production review work today, the most common pattern is still a CREATE_TASK step backed by an approval Task Template and Data Form. Use APPROVAL when you want the Activity Plan to express the approval gate directly.
When to Use APPROVAL
UseAPPROVAL for authorization gates such as:
- Manager approval for invoices above a threshold
- Compliance approval before a covenant result is finalized
- Supervisor approval before a claim is accepted
- Credit approval before a lending packet advances
- Operations approval before data is posted to a system of record
CREATE_TASK instead when the approver needs a full review surface, document correction, multiple fields, or a rich Data Form.
Basic Shape
| Config key | Description |
|---|---|
approverRole | Role or responsibility that can approve the gate |
approvalCriteria | Business criteria that explain why approval is required |
dependsOn | Prior Activity steps or actions that must complete first |
Approval vs Review Task
| Need | Prefer |
|---|---|
| Simple approve or reject gate | APPROVAL |
| Reviewer edits extracted data | CREATE_TASK |
| Reviewer needs a Data Form | CREATE_TASK |
| Approval must be visible as a step type in the process model | APPROVAL |
| Existing production workflow needs rich human work | CREATE_TASK |
Common Pattern
The approval gate is separate from the automation. The Activity can show exactly where authorization was required and what happened next.Criteria Design
Approval criteria should be understandable to the approver and auditable later. Good criteria:Downstream Routing
Downstream steps should depend on explicit approval outcomes.approved, rejected, and sometimes needs-more-information.
Production Pattern With CREATE_TASK
When the approval requires a full reviewer interface, model it as a Task:Checklist
- The approval gate represents a real business authorization, not a generic pause.
- The approver role is clear.
- Criteria explain why approval is required.
- Downstream steps depend on explicit outcomes.
- Use
CREATE_TASKwhen the approver needs a full review surface. - Approval outcomes are included in audit and reporting expectations.
Create Task Steps
Build rich human review and approval work.
Service Bridge Steps
Post approval results to external systems.
