Stock levels — Target architecture
flowchart LR
Q["Service Bus queue"] --> W["wf-stock-levels"]
W --> C{"Amount > 10k?"}
C -- yes --> CC["Credit check API"]
C -- no --> T["Topic: stock-levels"]
CC --> T
W --> DB["Azure SQL"]
flowchart LR
Q["Service Bus queue"] --> W["wf-stock-levels"]
W --> C{"Amount > 10k?"}
C -- yes --> CC["Credit check API"]
C -- no --> T["Topic: stock-levels"]
CC --> T
W --> DB["Azure SQL"]