Hi Team,
I want to run tctl commands from docker container temporal-admin-tools:1.17.1 in windows 10.
I have below images of temporal running in my system:
From temporal web I am able to see everything like describe or query for my RUNNING workflow: myworkflow-lifecycle
But when I try to run tctl command for example describe as below I get NotFound error.
docker exec temporal-admin-tools tctl wf describe -w myworkflow-lifecycle
Error: Describe workflow execution failed
Error Details: rpc error: code = NotFound desc = sql: no rows in result set
(‘export TEMPORAL_CLI_SHOW_STACKS=1’ to see stack traces)
or if I run tctl query then also similar error as below:
docker exec temporal-admin-tools tctl wf query --qt myQuery -w myworkflow-lifecycle -r aae60b68-4c35-4ff6-9008-fe651f523af3
Error: Query workflow failed.
Error Details: rpc error: code = NotFound desc = Workflow executionsRow not found. WorkflowId: myworkflow-lifecycle, RunId: aae60b68-4c35-4ff6-9008-fe651f523af3
(‘export TEMPORAL_CLI_SHOW_STACKS=1’ to see stack traces)
I am not sure what am I missing?
probably I need to set something so that admin-tools can query postgres via tctl.
Could someone help?