Pause workflow or agent execution at critical decision points and wait for a human to review, approve, or provide input before continuing. Use human approval workflows when execution must pause until a user:Documentation Index
Fetch the complete documentation index at: https://koreai-v2-agent-platform-dev.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Approves a request
- Reviews workflow data
- Provides structured input
- Completes a business validation step
- Approval tasks
- Data Entry tasks
- Workflow-based approvals
- Multi-step approval chains
How Human-in-the-loop Workflows Work
When workflow execution reaches an Approval or Data Entry step:- A human task is created.
- The task appears in the Inbox.
- Workflow execution pauses.
- A user reviews or completes the task.
- Workflow execution resumes after task completion.
Workflow-based Approvals
Use workflow-based approvals for multi-step approval processes, for example:- Manager approval followed by VP approval
- Compliance review followed by security approval
- Sequential business validation workflows
- Create a workflow with approval steps.
- Each approval step creates a human task.
- The workflow orchestrates the sequence.
ABL Configuration and Human Task APIs
The following sections describe ABL configuration patterns and the Human Task APIs used in human-approval workflows.Define form fields for data collection
When structured human input is required, define form fields in the Data Entry task definition. Example:- text
- number
- boolean
- select
- textarea
- date
Human Task APIs
Human Task APIs allow applications and workflows to programmatically manage approval and Data Entry tasks. Use Human Task APIs to:- View tasks
- Claim tasks
- Resolve tasks
- Assign tasks
View pending tasks
Claim a task
Resolve a task
After resolution, workflow or agent execution resumes with the human decision available in the execution context.Assign a task
Assign a task to a specific user:Troubleshooting
| Issue | Resolution |
|---|---|
| Escalation never triggers | Verify trigger conditions reference valid runtime variables |
| Human task not appearing in the Inbox | Verify task assignment and user permissions |
| Workflow not resuming after task completion | Verify on_human_complete handlers and task resolution |
| Required field validation errors | Ensure all required fields are provided |
| Task expired before resolution | Increase task timeout duration or escalation coverage |