The Process Path bounded context provides intelligent routing and orchestration of shipments through multiple fulfillment pathways. It optimizes throughput, manages capacity constraints, and ensures SLA compliance across Singles, AFE, and Batch/Flow processing paths.
Service: process-path-routing-service
Purpose: Assign shipments to optimal fulfillment paths based on multi-factor analysis.
| Capability | Description |
|---|---|
| Shipment Analysis | Analyze dimensions, weight, fragility, hazmat, sortability |
| Order Composition | Evaluate item count, SKU diversity, consolidation needs |
| Path Eligibility | Check physical constraints and path restrictions |
| Weighted Scoring | Multi-factor algorithm (capacity, buffer, labor, affinity) |
| SLA Emergency Routing | Override scoring for critical SLA situations |
| Dynamic Rerouting | Mid-stream path changes for bottleneck mitigation |
1
2
3
4
Path Score = (100 - utilization%) × 0.4 +
buffer_availability × 0.3 +
labor_availability × 0.2 +
path_affinity × 0.1
| Path | Description | Typical Volume |
|---|---|---|
| SINGLES | Direct pick-to-pack for single-item orders | 40-50% |
| AFE | Sorter-based consolidation for multi-item | 30-40% |
| BATCH_FLOW | Batch picking with put-wall consolidation | 15-20% |
| CUSTOM | Special handling paths | <5% |
Service: process-path-orchestration-service
Purpose: Monitor and manage path utilization to prevent bottlenecks.
| Capability | Description |
|---|---|
| Throughput Monitoring | Real-time units per hour tracking |
| Utilization Calculation | Percentage-based capacity analysis |
| State Management | NORMAL/CONSTRAINED/CRITICAL transitions |
| Station Tracking | Active vs maximum station counts |
| Threshold Alerting | Configurable warning and critical alerts |
| Recovery Forecasting | Projected time to normalize |
stateDiagram-v2
[*] --> NORMAL
NORMAL --> CONSTRAINED: utilization >= 80%
CONSTRAINED --> CRITICAL: utilization >= 95%
CONSTRAINED --> NORMAL: utilization < 80%
CRITICAL --> CONSTRAINED: utilization < 95%
NORMAL: Accepting all work (0-79%)
CONSTRAINED: Begin load balancing (80-94%)
CRITICAL: Stop routing (95-100%)
| Threshold | Level | Action |
|---|---|---|
| WARNING | 80% | Alert operations, begin monitoring |
| CRITICAL | 90% | Activate additional stations |
| MAXIMUM | 95% | Stop routing to path, escalate |
Service: process-path-orchestration-service
Purpose: Optimize work distribution across paths to maximize throughput.
| Capability | Description |
|---|---|
| Distribution Analysis | Per-path utilization comparison |
| Imbalance Detection | Identify overloaded/underloaded paths |
| Rebalancing Decisions | Calculate optimal redistribution |
| Load Shifting | Reroute pending assignments |
| Fairness Enforcement | Prevent single-path overload |
| Recovery Planning | Plan normalization from surge |
Service: process-path-orchestration-service
Purpose: Detect and respond to volume spikes and anomalies.
| Level | Volume | Actions |
|---|---|---|
| NORMAL | ≤100% forecast | Standard operations |
| LEVEL_1 | 100-120% | Monitor, prepare contingencies |
| LEVEL_2 | 120-150% | Activate stations, extend shifts |
| LEVEL_3 | >150% | All hands, mandatory overtime |
Service: process-path-orchestration-service
Purpose: Ensure orders meet service level commitments through priority-based processing.
stateDiagram-v2
[*] --> GREEN
GREEN --> YELLOW: time_to_cutoff <= 60min
YELLOW --> RED: time_to_cutoff <= 30min
RED --> BREACH: incomplete & < 15min
GREEN: Standard Processing (>60 min)
YELLOW: Monitor Closely (30-60 min)
RED: Expedite & Escalate (<30 min)
BREACH: Emergency Intervention (<15 min)
| Priority | Routing Behavior | Monitoring |
|---|---|---|
| GREEN | Normal scoring | Standard |
| YELLOW | Prefer faster paths | Elevated |
| RED | Override scoring, fastest path | Real-time |
| BREACH | Emergency intervention | Immediate |
Service: afe-path-service
Purpose: Manage automated fulfillment equipment workflows for multi-item orders.
| Capability | Description |
|---|---|
| Batch Formation | Group orders for efficient sorter processing |
| Induction Management | Assign batches to induction stations |
| Sorter Control | Route items through sorter lanes |
| Rebin Wall Management | Allocate slots, track consolidation |
| Tray Circulation | Optimize tray flow, detect imbalances |
| Jam Detection | Monitor discharge and resolve jams |
sequenceDiagram
participant ROUTING as Routing
participant AFE as AFE Service
participant SORTER as Sorter
participant WALL as Rebin Wall
participant SLAM as SLAM
ROUTING->>AFE: PathAssignedEvent
AFE->>AFE: Create batch
AFE->>SORTER: Induct items
SORTER->>WALL: Sort to chutes
WALL->>WALL: Consolidate order
WALL->>SLAM: RebinCompletedEvent
Service: singles-path-service
Purpose: Direct pick-to-pack workflow for single-item orders (40-50% of volume).
| Capability | Description |
|---|---|
| Session Management | Track pick-to-pack lifecycle |
| Worker Assignment | Assign workers to sessions |
| Direct Routing | Route single items to pack stations |
| Pack Material Selection | Choose box size and cushioning |
| Quality Control | Verify item accuracy |
sequenceDiagram
participant ROUTING as Routing
participant SINGLES as Singles Service
participant PICKER as Picker
participant PACKER as Packer
participant SLAM as SLAM
ROUTING->>SINGLES: PathAssignedEvent
SINGLES->>PICKER: Assign pick
PICKER->>PACKER: Item picked
PACKER->>SLAM: SinglesPackCompletedEvent
Service: batch-flow-path-service
Purpose: Batch picking and put-wall consolidation for multi-item orders.
| Capability | Description |
|---|---|
| Batch Formation | Group orders for picking efficiency |
| Wave Integration | Coordinate with wave planning |
| Pick Operations | Route pickers through warehouse |
| Put Wall Management | Allocate slots, sort items |
| Consolidation Tracking | Track order completion |
sequenceDiagram
participant ROUTING as Routing
participant BATCH as Batch Service
participant PICKER as Picker
participant WALL as Put Wall
participant SLAM as SLAM
ROUTING->>BATCH: PathAssignedEvent
BATCH->>PICKER: Assign batch
PICKER->>WALL: Items picked
WALL->>WALL: Sort to slots
WALL->>SLAM: OrderConsolidatedEvent
Service: slam-operations-service
Purpose: Final quality gate (Scan, Label, Apply, Manifest) before shipping.
| Capability | Description |
|---|---|
| Package Scanning | Barcode verification |
| Weight Verification | ACW (Actual Check Weight) validation |
| Carrier Selection | Rate shopping and assignment |
| Label Generation | Create shipping labels |
| Label Application | Apply and verify labels |
| Manifest Recording | Add to carrier manifest |
| Exception Handling | Weight discrepancies, damage detection |
sequenceDiagram
participant PATH as Path Services
participant SLAM as SLAM
participant CARRIER as Carrier API
participant SHIP as Transportation
PATH->>SLAM: Packing completed
SLAM->>SLAM: Scan package
SLAM->>SLAM: Verify weight (ACW)
SLAM->>CARRIER: Get label
CARRIER-->>SLAM: Tracking number
SLAM->>SLAM: Apply label
SLAM->>SLAM: Add to manifest
SLAM->>SHIP: SLAMCompletedEvent
| Outcome | Variance | Action |
|---|---|---|
| PASS | ≤10% | Continue to label |
| FLAG | 10-25% | Manager review |
| FAIL | >25% | Divert to problem solve |
| Source | Events | Purpose |
|---|---|---|
| Order Management | OrderReleasedToWarehouseEvent | Trigger routing |
| Inventory | InventoryAllocatedEvent | Item properties |
| WES Orchestration | WorkReleaseAuthorizedEvent | Capacity signal |
| Wave Planning | WaveReleasedEvent | Batch routing |
| Workload Planning | CapacityForecastUpdatedEvent | Capacity planning |
| Physical Tracking | ShipmentLocationUpdatedEvent | SLA monitoring |
| Robotics Fleet | RobotTaskCompletedEvent | Induct coordination |
| Pack & Ship | PackingCompletedEvent | Flow completion |
| Event | Consumers | Purpose |
|---|---|---|
| ShipmentRoutedToPathEvent | Task Execution, Tracking | Path assignment |
| PathCapacityChangedEvent | WES, Analytics | Capacity status |
| SurgeDetectedEvent | Operations, Management | Volume alerts |
| SLAPriorityEscalatedEvent | Routing, Monitoring | Priority override |
| SLAMCompletedEvent | Transportation, Order Mgmt | Shipping ready |
| KPI | Target | Description |
|---|---|---|
| Path Assignment Time | <500ms | Time to assign path |
| Assignment Success Rate | >99% | Successful assignments |
| Capacity Utilization | 70-85% | Optimal utilization range |
| SLA Compliance | >99.5% | Orders meeting cutoff |
| Reroute Rate | <2% | Mid-stream path changes |
| SLAM Pass Rate | >98% | Weight verification success |
| Component | Technology |
|---|---|
| Language | Java 21 |
| Framework | Spring Boot 3.3.3 |
| Database | MongoDB 7.0 |
| Messaging | Apache Kafka 7.5.0 |
| Cache | Redis 7.2 |
| Event Format | CloudEvents 2.5.0 |