# Unusual Temporal UI behavior

**URL:** <https://community.temporal.io/t/unusual-temporal-ui-behavior/9122>\
**Category:** Community Support\
**Created:** [August 9, 2023, 6:37am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122 "2023-08-09T06:37:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Baraskar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/manish_baraskar/32/3004_2.png) [@Manish\_Baraskar](https://community.temporal.io/u/Manish_Baraskar)\
**Post date:** [August 9, 2023, 6:37am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/1 "2023-08-09T06:37:56Z")

</div>

Hi Temporal Team,

I am facing an issue, a workflows shows different states while viewing from main menu and while opening the workflow itself.

I am attaching screenshots of the behaviour, in the image you will find a workflow with id passive-default-3, when we view in main menu it shows running but after opening, it shows completed.

So is this a UI issue or something else please clarify.

 ![IMG_20230809_132516](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/e/e948d2734fe3643e0790dd72cc30c05df49b60e2.jpeg)  
 ![IMG_20230809_132452](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/f/f4866fd54c60c1b3bc5ecb98403aa1d350449064.jpeg)

Attaching the pics as well

Thanks!!!

---

<div class="post-metadata">

**Author:** ![antonio.perez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/antonio.perez/32/2417_2.png) [@antonio.perez](https://community.temporal.io/u/antonio.perez)\
**Post date:** [August 9, 2023, 9:28am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/2 "2023-08-09T09:28:32Z")

</div>

Hi @Manish_Baraskar

how long does it take for the main UI page to show the workflow as completed?

The UI hits [visibility store](https://docs.temporal.io/visibility) to retrieve the list and status of each workflow execution. The data on this store is eventually consistent, I guess that a small delay is expected.

Antonio

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [August 9, 2023, 4:33pm UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/3 "2023-08-09T16:33:11Z")

</div>

Just to add, check server metrics for visibility latencies:

`histogram_quantile(0.95, sum(rate(task_latency_bucket{operation=~"VisibilityTask.*", service_name="history"}[1m])) by (operation, le))`

as mentioned, typically ~2 seconds is expected

---

<div class="post-metadata">

**Author:** ![Manish\_Baraskar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/manish_baraskar/32/3004_2.png) [@Manish\_Baraskar](https://community.temporal.io/u/Manish_Baraskar)\
**Post date:** [August 10, 2023, 9:50am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/4 "2023-08-10T09:50:06Z")

</div>

Hi @antonio.perez @tihomir

**Problem Faced** : We had faced issue with elastic search, visibility index got corrupted or deleted sometimes after container recreation in some scenario.

**What we want to achieve** : We want Mysql as visibility not the elastic search.

Versions:  
MySQL : v8.0  
Elastic-Search : v7.16.2

Please refer the link on which I have already posted the query:

> [@Workflows not visible on UI after docker restart](https://community.temporal.io/t/workflows-not-visible-on-ui-after-docker-restart/8688):
>
> Hi Thiomir/Maxim, In our testing environment some how docker was stopped and that’s why we have to take restart for it and when we did it we found that most of the workflows were vanished from temporal UI but were present in database. So is there any way to bring them back to temporal UI and along with this we found that querying based on search attribute is also not working that’s why signalling is not happening to respective workflows. Is there any auto purging policy in temporal like after …

1. We were doing a POC for setting Mysql as visibility, we are doing this because we faced issue while using elastic search as store because whenever container for elastic gets recreated after that we are not able to filter/query workflow based on custom search attribute. Search Attributes exits but query returns no results.

2. We have configured DB=mysql8 and ES\_ENABLE=false (disable ES)

3. Issue is not related to delay in reflecting a workflow status.

4. If I look the workflow ID its status is shown as running.

5. When I go to details history for the same workflow ID all the executions are done and showing status as completed. But main page always shows as running state.

6. Refer the attached screenshot.

[![](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/e/e948d2734fe3643e0790dd72cc30c05df49b60e2.jpeg) ](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/e/e948d2734fe3643e0790dd72cc30c05df49b60e2.jpeg)  
[![](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/f/f4866fd54c60c1b3bc5ecb98403aa1d350449064.jpeg) ](https://us1.discourse-cdn.com/flex016/uploads/temporal/original/2X/f/f4866fd54c60c1b3bc5ecb98403aa1d350449064.jpeg)

---

<div class="post-metadata">

**Author:** ![Manish\_Baraskar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/manish_baraskar/32/3004_2.png) [@Manish\_Baraskar](https://community.temporal.io/u/Manish_Baraskar)\
**Post date:** [August 16, 2023, 7:19am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/5 "2023-08-16T07:19:13Z")

</div>

Hi team,

Any updates please…

---

<div class="post-metadata">

**Author:** ![Manish\_Baraskar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/manish_baraskar/32/3004_2.png) [@Manish\_Baraskar](https://community.temporal.io/u/Manish_Baraskar)\
**Post date:** [August 24, 2023, 5:33am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/6 "2023-08-24T05:33:40Z")

</div>

Hi @maxim @tihomir

Could you please help with the problem we are facing.

Thanks!!

---

<div class="post-metadata">

**Author:** ![Manish\_Baraskar](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/manish_baraskar/32/3004_2.png) [@Manish\_Baraskar](https://community.temporal.io/u/Manish_Baraskar)\
**Post date:** [September 12, 2023, 11:50am UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/7 "2023-09-12T11:50:10Z")

</div>

Hi @tihomir @antonio.perez

Could you please let us how do we connect further do I need to create new thread/ticket for this discussion becasue I have not got any updates on above asked queries.

Thanks…

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [April 3, 2025, 5:38pm UTC](https://community.temporal.io/t/unusual-temporal-ui-behavior/9122/8 "2025-04-03T17:38:43Z")

</div>

If you are running visibility on SQL db:

Upgrade to 1.27.1+ server version and see if you run into this again  
see release notes [here](https://github.com/temporalio/temporal/releases/tag/v1.27.1)  
specifically “Fix out-of-order Visibility tasks with SQL database” section
