Coming soon · Optional profile
Workflow on Durable

One workflow. One durable service. Two authorities.

Let a Relay workflow invoke a Durable service or agent operation when that step needs its own journaled state, effects and lifecycle.

This is an integration profile between Relay and Durable—not a third product and not the default way Relay workflows execute.

Relay authority

Workflow run

  • Definition and exact revision
  • Run, step and approval state
  • Persisted snapshot/checkpoint recovery
  • Workflow history and terminal outcome
DurableExecutionPort
InvocationRef + receipt

Durable authority

Service invocation

  • Service deployment and handler contract
  • Invocation journal and durable state
  • Recorded model, tool and external effects
  • Authoritative invocation receipt

The integration profile owns no runtime state. It defines the typed command, reference, correlation and reconciliation contract between the products.

Interaction model

Park the workflow on one durable reference

A retry or process restart queries the same invocation instead of issuing untyped work again.

1

Reach the service step

Relay advances its server-owned DAG to a step configured for Durable.

2

Persist the reference

Relay records the typed Durable InvocationRef before parking the workflow step.

3

Execute independently

Durable owns the invocation journal, state, effects, recovery and receipt.

4

Reconcile and continue

Relay reads the same receipt, records the reference and advances from persisted workflow state.

Use this profile when

The step needs an independent durable-service lifecycle

  • An agent or tool loop must record non-deterministic effects.
  • The same durable service is invoked by workflows and other callers.
  • The handler needs independent scaling, state, retries or deployment ownership.

Keep the workflow Relay-only when

Relay already owns the complete orchestration

  • Normal activities and workers are sufficient.
  • The workflow waits for a timer, signal or approval.
  • You only need Relay’s persisted workflow state and recovery.

Evidence boundary

No composed candidate is admitted

Coming soon

Source adapters and partial tests do not prove the profile. Availability requires one exact Relay candidate and one exact Durable candidate plus the versioned seam.

  • Typed control contract and compatibility TCK
  • Atomic/idempotent invocation admission
  • Restart and duplicate-command recovery
  • Command, reference, receipt and readback correlation
  • Tenant isolation and authorization negatives
  • Deployment and rollback evidence

Run what matters. Prove what happened.

Start with Relay workflows or Durable services. Adopt either product independently and compose them through explicit contracts.