Core Concepts¶
Task Types¶
AI Task¶
- Handles intelligent processing using AI capabilities.
graph LR Input --> AI[AI Processing] --> Output
Human Task¶
- Manages human interventions and approvals.
graph LR Request --> Human[Human Decision] --> Response
App Task¶
- Integrates with external tools and applications.
graph LR Data --> App[Tool Integration] --> Result
Coder Task¶
- Executes custom code artifacts.
graph LR Input --> Code[Code Execution] --> Output
Parameter Types¶
Input Parameters¶
Data that flows into tasks:
- Basic types (string, number, boolean)
- Complex types (array, object)
- Special types (artifacts)
Output Parameters¶
Results produced by tasks:
- Basic data types
- File outputs
- Media outputs
- Structured data
Assignment Rules¶
Rule Types¶
-
Exception
- Error handling
- Special cases
-
Human Feedback
- Approvals
- Reviews
Assignment Types¶
-
User Assignment
- Direct user allocation
- Individual responsibility
-
Team Assignment
- Group allocation
- Round-robin distribution
Workflow Concepts¶
Dependencies¶
graph TD
A[Task A] --> B[Task B]
B --> C[Task C]
- Sequential execution
- Parallel processing
- Conditional flows
Error Policies¶
-
RAISE
- Stop execution
- Report error
-
IGNORE
- Continue execution
- Log warning
-
RETRY
- Attempt recovery
- Configurable attempts
Best Practices Overview¶
-
Task Design
- Clear naming
- Proper description
- Error handling
-
Parameter Configuration
- Type selection
- Validation rules
- Default values
-
Assignment Setup
- Clear responsibilities
- Backup assignees
- Team distribution