# Get current workflow status

**URL:** <https://community.temporal.io/t/get-current-workflow-status/8985>\
**Category:** Community Support\
**Tags:** go-sdk, workflow-options\
**Created:** [July 28, 2023, 5:59am UTC](https://community.temporal.io/t/get-current-workflow-status/8985 "2023-07-28T05:59:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rey](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/rey/32/3690_2.png) [@rey](https://community.temporal.io/u/rey)\
**Post date:** [July 28, 2023, 5:59am UTC](https://community.temporal.io/t/get-current-workflow-status/8985/1 "2023-07-28T05:59:12Z")

</div>

What’s the best way to get the current status of a workflow, along with the activities?  
My use case is that I have to keep displaying the status of a workflow from the time it started till it finishes.  
Is it good to directly query the history API - [https://github.com/temporalio/tctl/blob/main/cli/workflow\_commands.go#L311C11-L311C11](https://github.com/temporalio/tctl/blob/main/cli/workflow_commands.go#L311C11-L311C11)?  
Should I go with the query handler approach - [https://github.com/temporalio/samples-go/tree/main/query](https://github.com/temporalio/samples-go/tree/main/query)?  
What is the recommended way for this use case?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [July 28, 2023, 6:13am UTC](https://community.temporal.io/t/get-current-workflow-status/8985/2 "2023-07-28T06:13:21Z")

</div>

I would recommend the query handler approach. You can customise the query results exactly for your use case.
