問題文
An order service must give the customer a confirmation number in the same call. The team also has to update inventory and build a packing list. What design does the product guidance point to?
選択肢
- A schedule flow that gathers the orders of the hour and returns the confirmation number for each of them at the end of its run.
- An asynchronous flow that carries the inventory and packing work and sends the confirmation number back to the customer in a later message.
- A synchronous flow that returns the confirmation number before starting one or more asynchronous flows that carry the inventory and packing work.
- A synchronous flow that returns the confirmation number after it has finished the inventory update and the packing list inside that same single instance.