Is your feature request related to a problem? Please describe.
Queries are a useful way to debug long-running or closed Workflow executions, but they always entail replaying the entire workflow history. Sometimes, if a workflow has a lot of internal state that changes throughout its lifetime, it could be useful to interrogate what its state was at a particular point in time.
Describe the solution you'd like
The ability to query a Workflow at a particular history event. In other words, the ability to specify an event N along with the Query. The Workflow will only be replayed up to event N before returning the Query result.
Additional context
Potentially related issue: #233
Per-SDK Tickets
Is your feature request related to a problem? Please describe.
Queries are a useful way to debug long-running or closed Workflow executions, but they always entail replaying the entire workflow history. Sometimes, if a workflow has a lot of internal state that changes throughout its lifetime, it could be useful to interrogate what its state was at a particular point in time.
Describe the solution you'd like
The ability to query a Workflow at a particular history event. In other words, the ability to specify an event
Nalong with the Query. The Workflow will only be replayed up to eventNbefore returning the Query result.Additional context
Potentially related issue: #233
Per-SDK Tickets