Workflow Updates
Announcing a new operation: Workflow Update

Announcing a new operation: Workflow Update

1/14/2025

What this post added

Introduces Workflow Updates as a Generally Available feature. Explains the limitations of existing Query and Signal messages and how Updates overcome them by allowing handlers to perform arbitrary work (including Activities and Child Workflows), mutate state, and return results. Details the technical implementation differences between Updates and Signal+Query polling, including how Updates defer history writes until after delivery to the Workflow. Outlines three design patterns for using Updates: mutating local state, executing Activities/Child Workflows and receiving results, and waiting for the Workflow to reach a certain state. Provides code examples in Python, Java, and Go, and links to documentation and samples for various languages.

Read the original post ↗