Customer service · delivery
When will the customer get it?
It depends on the warehouse.
Lyon: 3 days and inventories. Liège: 5 days and other holidays.
Synthetic orders
The problem
One rule, two calendars.
- 8 May is a holiday in France, not in Belgium.
- Lyon closes for inventory.
- Each warehouse has its lead time.
Nothing is changed
The orders stay as they are.
- The operator writes the rule once.
- The integrator sets it per warehouse.
- Each order gets its date.
What it took to write
context:
country: FR
lead_days: 3
closed: ["2026-05-05"]Lyon's settings, in four lines.
The whole scenario fits in 4 files, 83 lines, including a 23-line script.
The answers
One order, two right dates.
- CMD-3101: 7 May in Lyon, 8 May in Liège.
- CMD-3102: 18 May in Lyon, 20 May in Liège.
The limit
The calendar needs upkeep.
- Holidays live in the operator's script.
- Days, not hours.
Try it
The scenario replays end to end.
One script, two connectors, one entity: each step is published with its output.