I am wondering which completed workflow would respond to the query?
If you use only workflow id:
If there is an execution running, it will be the one queried, otherwise the latest completed execution is picked (according to end/completion time).
You can use workflowid and runid to query a specific execution of you want.
2 Likes