class Temporalio::Workflow::InvalidWorkflowStateError

activity) or anything that could wait (e.g. scheduling a fiber, running a future, or using a wait condition).
handlers, and update validators, a workflow cannot do anything that would generate a command (e.g. starting an
Error raised when a workflow does something with a side effect in an improper context. In ‘initialize`, query