Most people default to processing records one by one.
Picture this: 50 Inspection Assignment records need to be posted to an external API — one call per assignment.
⏳ Inspection Assignment 1 → API → wait → Assignment 2 → API → wait → ...
It works. But it's slow, and it doesn't scale.
⚡ A simpler pattern: ODC Events
Submit → Loop through records → Fire an Event per record → Don't wait
Each Event independently:
The Submit action doesn't wait. Multiple assignments process concurrently, each through its own independent event execution.
Once done, the app aggregates the outcome:
📊 Total: 50 · ✅ Successful: 47 · ❌ Failed: 3
Why this matters: for any ODC app pushing a batch of records through an external API, this event-driven pattern trades a slow sequential wait for fast, asynchronous processing.
⚠️ But it's not free — a few trade-offs to know
@Amit J Great breakdown, fan-out via ODC Events is a huge time-saver, provided you guard against rate limits and enforce idempotency.