Query from the command line returns a result for the query that is still in Running status. Query:
temporal workflow list -n preflight --address 10.43.63.119:7233 -q 'CloseTime is null AND WorkflowId = "S329229X8820832"'
Actual Behavior
Query returns no results.
Oddly, if I do the same query but query where close time is not null (CloseTime it not null), I get results for all past workflows AND the currently running workflow.
If I further do a json-formatted output on the list, the one that is running does not show a close time. (query temporal workflow list -n preflight --address 10.43.63.119:7233 -q 'CloseTime is not null AND WorkflowId = "S329229X8820832"' -o json)
Expected Behavior
Query from the command line returns a result for the query that is still in
Running
status. Query:Actual Behavior
Query returns no results.
Oddly, if I do the same query but query where close time is not null (
CloseTime it not null
), I get results for all past workflows AND the currently running workflow.If I further do a json-formatted output on the list, the one that is running does not show a close time. (query
temporal workflow list -n preflight --address 10.43.63.119:7233 -q 'CloseTime is not null AND WorkflowId = "S329229X8820832"' -o json
)One of the closed ones that does have a close time, does show the close time in the output:
Steps to Reproduce the Problem
Specifications
The query has worked locally using https://temporal.io/blog/auto-setup and the docker hub image https://hub.docker.com/r/temporalio/server, but does not work in a self hosted environment. Description of the self hosted envrionment: