Workflow Types & Patterns
Workflow Types & Patterns
Section titled “Workflow Types & Patterns”Aptiwise supports a comprehensive range of workflow patterns designed to handle various business approval scenarios. This guide showcases the different types of approval flows with visual Mermaid diagrams and real-world examples.
🏗️ Core Workflow Components
Section titled “🏗️ Core Workflow Components”Step Types
Section titled “Step Types”Learn about the fundamental building blocks of Aptiwise workflows:
- Decision Steps - Binary and multi-outcome approval scenarios
- Acknowledgement Steps - Non-blocking notifications that record who was informed
- Conditional Routing - Intelligent routing based on form data and business rules
- Parallel Approval - Multiple approvers working simultaneously
- Spawn Workflow Steps - Triggering child workflows for fan-out processing
- Form Integration - System automation and integrations
Real-World Examples
Section titled “Real-World Examples”Explore complete workflow implementations:
- Expense Approval - Employee expense reimbursement process
Advanced Features
Section titled “Advanced Features”Master sophisticated workflow capabilities:
- Form Integration - Dynamic forms and field types
- SLA Tracking - Timeouts, escalation, and compliance
- Asset Registry & Data Steps - Persist and retrieve configuration records across workflow runs
🚀 Quick Start Guide
Section titled “🚀 Quick Start Guide”Choose Your Workflow Pattern
Section titled “Choose Your Workflow Pattern”Simple Approval Chain
Linear approval process with manager → director → completion
View Decision Steps →Notifications & Acknowledgements
Non-blocking steps that notify and track who was informed, without gating the workflow
View Acknowledgement Steps →🎯 Implementation Patterns
Section titled “🎯 Implementation Patterns”Expression Syntax
Section titled “Expression Syntax”Aptiwise supports sophisticated conditional expressions for intelligent routing:
# Amount-based routingconditions: "amount > 10000"
# Department-specific logicconditions: "department == 'engineering'"
# Complex multi-criteriaconditions: "amount > 50000 and urgency == 'critical'"
# List membershipconditions: "category in ['equipment', 'software']"Dynamic Role References
Section titled “Dynamic Role References”Leverage organizational hierarchy in your workflows:
# Reference user's direct managerapprover: "${requestor.manager}"
# Reference department headapprover: "${requestor.department_head}"
# Reference supervisorapprover: "${requestor.supervisor}"📊 Getting Started
Section titled “📊 Getting Started”- Choose a Step Type - Start with decision steps for basic approvals
- Add Conditional Logic - Implement smart routing based on your business rules
- Configure Forms - Design dynamic forms that collect the right data
- Set Up SLAs - Define timeouts and escalation rules
- Use the Asset Registry - Persist records between workflow runs and drive scheduled drift checks
🔧 Technical Resources
Section titled “🔧 Technical Resources”- Syntax Reference - Complete ApprovalML YAML specification
- API Documentation - Integration endpoints and webhooks
- Examples Repository - Sample workflows for common scenarios
- Best Practices - Optimization guidelines and patterns
Ready to build your first workflow? Start with our Decision Steps guide for the fundamentals, or jump directly to a real-world example to see complete implementations in action.