Workflow Integration
Seamless integration with Temporal workflow engine for robust approval processes and automated workflow progression.
Before You Start
Understanding workflow integration requires familiarity with Temporal workflow engine concepts. This integration enables automated approval processes and seamless workflow progression.
Workflow Engine Integration
The Approval Management module integrates seamlessly with the Temporal workflow engine, providing robust and scalable approval processes.
Temporal Workflow
Child Workflows
- Parallel Processing: Supports parallel approval workflows
- Conditional Logic: Complex conditional approval logic
- Outcome Mapping: Maps approval outcomes to workflow edges
- Notification Integration: Integrated notification system
Approval Node Creation
Approval nodes are automatically created when workflows reach specific approval stages, triggering the approval process.
Automatic Trigger
- Workflow Progression: Approvals are created when workflows reach approval nodes
- User Assignment: Automatically assigns users based on workflow configuration
- Outcome Definition: Defines available approval outcomes
- Condition Rules: Sets completion requirements
Approval Node Types
Inspection Approvals
- Template Display: Shows inspection template and answers
- Flagged Answers: Highlights answers that need attention
- Task Answers: Shows answers that generated tasks
- Resource Integration: Links to related resources
Task Approvals
- Task Details: Shows complete task information
- Assignment Review: Review task assignments and status
- Progress Tracking: Track task completion progress
- Related Items: Show related inspections and issues
Issue Approvals
- Issue Details: Shows complete issue information
- Priority Review: Review issue priority and status
- Related Tasks: Show tasks created from issues
- Resource Linking: Link issues to affected resources
Signal Processing
The workflow engine processes signals from approval submissions to determine workflow progression and next steps.
Workflow Signals
- Approval Submission: Signals when approvals are submitted
- Outcome Processing: Processes approval outcomes
- Completion Detection: Detects when approval processes complete
- Edge Mapping: Maps outcomes to workflow edges
State Management
- Workflow State: Maintains current workflow state
- Approval Status: Tracks approval status and progress
- User Responses: Records user approval responses
- Completion Rules: Evaluates completion requirements
Parallel Processing
Support for parallel approval workflows enables efficient processing of multiple approval requests simultaneously.
Parallel Workflows
- Multiple Approvals: Process multiple approvals simultaneously
- Independent Processing: Each approval processes independently
- Resource Optimization: Optimizes resource utilization
- Scalability: Scales to handle large approval volumes
Conditional Logic
- Complex Decisions: Support for complex approval decisions
- Branching Logic: Conditional branching based on outcomes
- Multi-path Workflows: Multiple workflow paths
- Dynamic Routing: Dynamic workflow routing
Important Notes
- • Workflow integration requires proper Temporal configuration
- • Approval nodes must be properly configured in workflow definitions
- • User assignments should be validated before workflow execution
- • Monitor workflow performance and adjust as needed