query_workflow
Retrieve real-time state from a running Temporal workflow by specifying its execution ID and query name, with optional arguments, to inspect progress or results without interrupting execution.
Instructions
Query a running workflow for its current state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the query (as JSON object) | |
| query_name | Yes | The name of the query to execute | |
| workflow_id | Yes | The workflow execution ID to query |