Scheduling guide
temporalExecutionType: WorkflowWorkflow endpoints
Durable replay-safe orchestration implemented as a generated Workflow endpoint.
When to use
Use this page while designing, implementing, operating, or troubleshooting scheduled and durable execution.
Behavior
- Workflow code runs in the Temporal deterministic environment.
- Durable timers and state survive worker restarts.
- Generated runtime supplies replay-aware logging, metrics, tracing, and delay behavior.
- Side effects must cross Activity boundaries.
Replay model
HistoryEvent historyTemporal persists decisions and outcomes.
ReplayWorkflow functionCode re-executes deterministically.
Side effectActivityExternal I/O crosses this boundary.
DecisionNext commandTimer, child, result, or failure.
- Avoid wall-clock APIs, random values, unmanaged threads, and direct I/O.
- Run generated determinism and replay tooling after Workflow changes.
Use cases properties
Workflow is the coordination boundary.
PropertyTypeDescription
OrchestrationrecommendedMulti-step state machines, compensation, and waiting.
TimersdurableWaits survive process restarts.
Side effectsActivityDelegate externally visible operations.
Product-level example
temporalExecutionType: Workflow
taskQueue: orchestration
workflowExecutionTimeout: 86400000
maximumAttempts: 1