27045ec.
Context and decision drivers
Report generation and email delivery are sequential steps that may take time and fail independently. The service was intended for low request volume and small scale. The team wanted a simple setup with persisted workflow state and a way for callers to check progress.Options considered
Decision and rationale
Use an Azure Durable Functions orchestration with separate report-generation and email activities. This meets the workflow need without introducing a separate messaging platform for the expected volume. As part of this solution, the report-generation activity uploads the PDF to thereport-files Blob container and the email activity downloads it. Blob Storage is an artifact handoff within this decision, rather than a separate ADR.
Consequences
- The workflow has persisted execution state and a status response for callers.
- The activities can access the same PDF without relying on a shared local file system.
- The service depends on Durable Functions storage and Blob Storage.
- PDF retention, cleanup, and access controls need an operational policy.
- Failure handling and orchestration replay behavior need explicit verification.