Entity & lifecycle patterns
Patterns for modeling long-lived stateful entities and managing Workflow history growth over time.
Entity Workflow
Models long-lived business entities as individual Workflows that persist for the entity's entire lifetime, handling all state transitions through Signals and Updates.
Continue-As-New
Prevents unbounded history growth by completing the current execution and starting a new one with fresh history.
Updatable Timer
Dynamically adjustable timers that respond to Signals or Updates. Extend, shorten, or cancel timers based on external events.