>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #345
Update issue details
Title *
Description
## update: this will complicate the maintenance. this is not a feature we want to have intentionality. ## Overview Cross-microservice transactions using Saga pattern with compensation. ## Workflow Steps 1. Reserve Inventory (Service A) 2. Charge Payment (Service B) 3. Allocate Shipping (Service C) ## Compensation Logic - If Charge Payment fails: Execute Release Inventory - If Allocate Shipping fails: Refund Payment + Release Inventory ## Tools Required - tools.http.request ✅ (microservice calls) - Error handling ✅ (native try/catch equivalent) ## DSL Operators TaskOperator, ErrorHandler (compensation), ConditionalOperator ## Mock Implementation - 3 mock microservice endpoints - Configurable failure points - Compensation endpoints for rollback ## Durable Advantages - Guaranteed data consistency - Automatic compensation on failure - No two-phase commit needed - Full audit trail ## Sample Workflow Structure ``` reserve_inventory → charge_payment → allocate_shipping ↓ (on failure) release_inventory ```
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel