הבקשה
“Create an order-processing control flow graph: validate a cart, handle unavailable items by checking backorders or cancelling, reserve items, retry declined payments, run a fraud check, create a warehouse task, ship, investigate unconfirmed deliveries, and complete the order.”
ואז נסוAdd a customer confirmation after payment succeeds.Change the payment retry limit to three attempts.
מה מופיע בתרשים הזה
פענחו את ההחלטות שמאחוריו.
01
Check inventory before payment
02
Loop payment retry until retry limit
03
Confirm delivery before order completion
Reuse for any order processing pipeline that needs decision branches, retry loops, and clear terminal states.