@@ -39,9 +39,7 @@ Content-Type: application/json
3939{
4040 "customer" : " alice" ,
4141 "items" : [
42- {"item" : " apple" , "quantity" : 2 , "price" : 50.0 },
43- {"item" : " orange" , "quantity" : 1 , "price" : 75.0 },
44- {"item" : " pear" , "quantity" : 3 , "price" : 30.0 }
42+ {"item" : " apple" , "quantity" : 2 , "price" : 50.0 }
4543 ]
4644}
4745
@@ -137,68 +135,3 @@ GET http://localhost:3007/bulk-orders/{{mixed_bulk_instance_id}}
137135@single_bulk_instance_id = {{single_item_bulk.response.body.instance_id}}
138136
139137GET http://localhost:3007/bulk-orders/{{single_bulk_instance_id}}
140-
141- ### =============================================
142- ### BULK ORDER WORKFLOW DEMONSTRATION POINTS
143- ### =============================================
144- ###
145- ### 🎯 KEY FEATURES TO HIGHLIGHT:
146- ###
147- ### 1. PARENT-CHILD WORKFLOW ORCHESTRATION:
148- ### - Single bulk order creates multiple child workflows
149- ### - Each item processed independently with parallel execution
150- ### - Parent workflow coordinates and tracks all children
151- ### - Clear activity names for workflow visualization
152- ###
153- ### 2. ADVANCED ACTIVITY NAMING:
154- ### - announce_bulk_order_started: Clear workflow initiation
155- ### - announce_child_workflow_spawned: Track child creation
156- ### - announce_waiting_for_children: Parent coordination point
157- ### - announce_item_success/failure: Individual outcomes
158- ### - announce_inventory_reserved: Business logic completion
159- ### - announce_payment_processing: Payment stage identification
160- ### - announce_shipping_scheduled: Final fulfillment step
161- ###
162- ### 3. REAL-TIME MONITORING:
163- ### - Live notifications with [BULK] prefix in UI
164- ### - Parent and child workflow status tracking
165- ### - Progress updates for each processing stage
166- ### - Failure isolation between child workflows
167- ###
168- ### 4. APPROVAL WORKFLOW INTEGRATION:
169- ### - Automatic approval detection for high-value items
170- ### - External event handling for manager approvals
171- ### - Individual item approval within bulk orders
172- ### - Timeout handling for pending approvals
173- ###
174- ### 5. PARALLEL PROCESSING BENEFITS:
175- ### - Multiple items processed simultaneously
176- ### - Inventory reservation coordination
177- ### - Payment processing optimization
178- ### - Shipping schedule coordination
179- ###
180- ### 6. FAILURE HANDLING:
181- ### - Graceful handling of partial bulk order failures
182- ### - Individual item failure isolation
183- ### - Compensation patterns for failed items
184- ### - Parent workflow status aggregation
185- ###
186- ### 7. SCALABILITY DEMONSTRATION:
187- ### - Bulk orders of varying sizes (1-10+ items)
188- ### - Mixed-value scenarios with differential processing
189- ### - Resource efficient child workflow spawning
190- ### - Coordinated completion handling
191- ###
192- ### =============================================
193- ### 🚀 DEMO EXECUTION GUIDE:
194- ###
195- ### TIMING: Execute requests with 10-15 second delays for observation
196- ### MONITORING: Keep notifications UI (localhost:8080) open during demo
197- ### OBSERVATION: Watch for parent workflow coordination messages
198- ### ANALYSIS: Use workflow IDs to trace parent-child relationships
199- ### APPROVAL: Use actual child workflow IDs from bulk order responses
200- ###
201- ### EXPECTED DEMO DURATION: 5-10 minutes for complete demonstration
202- ### CONCURRENT PROCESSING: Child workflows execute in parallel
203- ### NOTIFICATION RATE: Expect 5-15 events per bulk order
204- ### =============================================
0 commit comments