---
id: ADR-PFM-INT-009
title: 'Background work follows the queued-work standard, delivered at least once'
product_area: platform
module: integrations
revision: 1
status: proposed
design_intent: confirmed
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
decision: >-
  Run queued executions, received-message processing, event routing and subscription delivery through durable
  queue records, dispatchers and workers. Recipients must tolerate repeated transport attempts.
constrains:
  - DOM-PFM-INT-003
  - DOM-PFM-INT-004
  - WF-PFM-INT-012
  - WF-PFM-INT-015
  - WF-PFM-INT-017
  - WF-PFM-INT-018
  - SVC-PFM-INT-integrations
alternatives:
  - option: Guarantee exactly-once transport with a distributed transaction.
    why_not: Providers and consuming applications do not share the database commit boundary.
  - option: Call consumers inside the source mutation.
    why_not: Slow external work would hold the writer and a crash could lose dispatch.
consequences:
  - Adapters and consumers deduplicate the identifiers supplied by their envelopes.
  - Exhausted work remains inspectable and supports authorized recovery.
  - A routing retry may revisit a consumer that already completed the prior attempt.
origin: docs/queued-work.md (Platform standard)
supersedes: []
---

# Background work follows the queued-work standard, delivered at least once

## Context

Durable work does not remove duplication at external boundaries.

## Decision

Run queued executions, received-message processing, event routing and subscription delivery through durable queue records, dispatchers and workers. Recipients must tolerate repeated transport attempts.

## Alternatives Considered

Guarantee exactly-once transport with a distributed transaction. Providers and consuming applications do not share the database commit boundary.

Call consumers inside the source mutation. Slow external work would hold the writer and a crash could lose dispatch.

## Consequences

Adapters and consumers deduplicate the identifiers supplied by their envelopes.

Exhausted work remains inspectable and supports authorized recovery.

A routing retry may revisit a consumer that already completed the prior attempt.
