Your automation sends a purchase order to a supplier. Ten seconds later, the request times out. Your database still says pending, but the supplier may already be packing the order. Retry immediately and you might buy everything twice. Mark it complete and your customer might never receive it. This is where I’d challenge a common workflow design. A single failed status hides two situations that require different decisions. An invalid payload needs a correction. A timeout after submission leaves the outcome unknown. Giving both the same retry policy turns a network issue into a business decision nobody explicitly made. I’d give each purchase order a stable reference before the first request and record the intent to submit it in the same database transaction. Every attempt would carry that reference. If the supplier supports idempotency keys, I’d reuse the original key within its documented validity window. If the supplier only offers an order lookup, I’d reconcile against that record and account for the delay before a new order becomes searchable. The metric I’d put on the operations dashboard is the age and value of orders whose outcome is still unknown. A 99.9% workflow success rate tells me very little if the remaining 0.1% includes our largest order. How would you handle a supplier that offers neither idempotency keys nor a reliable lookup? At what order value or delay would you hand the decision to a human, and who gets to set that threshold?
operator-yh0jl27 Nov 2026