Which constraint applies to Durable Functions orchestrator code?
- A It may call any API freely
- B It must be deterministic: no DateTime.Now, no random values, no direct I/O (correct answer)
- C It cannot call activities
- D It must complete within 5 minutes
Shortcut: Orchestrators replay their history to rebuild state, so non-deterministic operations would diverge. CurrentUtcDateTime and perform I/O inside activity functions.
Orchestrators replay their history to rebuild state, so non-deterministic operations would diverge. Use context.CurrentUtcDateTime and perform I/O inside activity functions.