# \[Bug\] Flow renaming isn’t consistent

**URL:** <https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439>\
**Category:** Questions & Help\
**Tags:** bugreport\
**Created:** [December 30, 2023, 4:27pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439 "2023-12-30T16:27:41Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 4:27pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/1 "2023-12-30T16:27:41Z")

</div>

When flows are renamed it doesn’t appear to update the names of the cards where the flows are being used in other flows.

I do don’t know if this is an iPhone app but, or an underlying issue. I presume the later.

- Create a flow: called A
- Create a flow: called B which has “Then: start flow A”
- Rename flow A to flow C
- Observe flow B still references flow A

References to “flow A” should be update to “flow C”

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [December 30, 2023, 4:37pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/2 "2023-12-30T16:37:08Z")

</div>

I guess this is Mobile App independent, had been on Android as wel and I don’t know if it is fixed. But I Guess not ;-(  
Let’s see if it is also in the WebApp,

Checked: Yes, it is 😉  
So I Think it is an Homey Core Issue …

is reported several times like:

> [@Rename flow - flow no longer starting from other flow](https://community.homey.app/t/rename-flow-flow-no-longer-starting-from-other-flow/38883):
>
> Hi, When a rename a flow, this flow is no longer started from another flow .Is there something I am doing wrong? Or does Athom link flows by Name? I hope it’s linked with a GUID or something, so that when you change the name its’ still linked.

> [@Renaming flows](https://community.homey.app/t/renaming-flows/46783):
>
> Hi. Does anyone know what the deal is with renaming flows? My experience is that if I rename Flow B, which is called by Flow A, everything still works, but the card in Flow A doesnt get updated with the new name. Tested both in mobile and web app. It can then get very confusing if you are reviewing your flows a month later and cant see anymore how the flows are connected, because the name in the card is wrong. Anyone else share this experience?

and more.

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 4:59pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/3 "2023-12-30T16:59:47Z")

</div>

I’ve raised it as a support bug:

> Thanks for reaching out! Your request (115379) has been received and is being reviewed by our support staff.

I’ll update the bug to reference the threads you’ve found.

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 5:01pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/4 "2023-12-30T17:01:23Z")

</div>

> [@DrChaos](#):
>
> I’ll update the bug to reference the threads you’ve found

Done

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 5:02pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/5 "2023-12-30T17:02:23Z")

</div>

> [@Dijker](#):
>
> So I Think it is an Homey Core Issue …

It’s a pretty serious one. Renaming a flow should never be allowed to break anything.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [December 30, 2023, 5:48pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/6 "2023-12-30T17:48:21Z")

</div>

> [@DrChaos](#):
>
> Renaming a flow should never be allowed to break anything.

Did you check if it actually breaks the flow? Because for me it doesn’t, all it does is not show the correct name anymore.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [December 30, 2023, 6:10pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/7 "2023-12-30T18:10:42Z")

</div>

No, it doesn’t break the flow  
it still uses the UID but caches the Called Flow name in the calling Flow.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/30557b32c4c37631d6afe6b4ce17596a58c343fc.png)

The original Github Ticket was #330 from Johan Kusters 😉 ~ 10 mrt 2016 FW 0.8.22

> [homey] Flow keeps its old name in flow action after rename (#330)

To be sure also tested this now in Homey Pro (Early 2023), have seen thing reported that I had tested on an Classic Homey that worked… but indeed was broken on the New Homey.

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 6:49pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/8 "2023-12-30T18:49:41Z")

</div>

> [@Dijker](#):
>
> To be sure also tested this now in Homey Pro

Mine is a Homey Pro.

Glad to know that the flows aren’t actually broken. Not sure why they would want to cache the names. The rate of name lookups surely aren’t enough to out weigh the cache inconsistency.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [December 30, 2023, 6:57pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/9 "2023-12-30T18:57:19Z")

</div>

> [@DrChaos](#):
>
> > [@Dijker](#):
> >
> > Homey Pro
> 
> Mine is a Homey Pro.

But is it a 2023?  
That vs Homey (cloud) vs the Homey (Pro) (Early 2016 -2019)  
Can have different results.

But as I run probably newer FW and Mobile App…  
Don’t expect it in the next version fixed

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 30, 2023, 7:13pm UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/10 "2023-12-30T19:13:27Z")

</div>

> [@Dijker](#):
>
> But is it a 2023?

Yes. Just bought new. (Confirmed app says early 2023)

---

<div class="post-metadata">

**Author:** ![DrChaos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drchaos/32/96452_2.png) [@DrChaos](https://community.homey.app/u/DrChaos)\
**Post date:** [December 31, 2023, 2:02am UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/11 "2023-12-31T02:02:38Z")

</div>

> [@Dijker](#):
>
> No, it doesn’t break the flow  
> it still uses the UID but caches the Called Flow

Strangely, if you delete a flow, then isn’t deleted from the calling flow. The caller still thinks that it exists.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [December 31, 2023, 8:10am UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/12 "2023-12-31T08:10:44Z")

</div>

I would expect the flow to be marked broken,  
And that saving wouldn’t be possible until you chang to an existing tlow.

But i can’t say if i have tested it before, and there has changed a lot since 2016.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [December 31, 2023, 8:42am UTC](https://community.homey.app/t/bug-flow-renaming-isn-t-consistent/99439/13 "2023-12-31T08:42:28Z")

</div>

It’s not marked broken, there’s no indication that the flow you’re trying to call doesn’t exist anymore. Only when you test the flow will a red triangle show up (but only during that session, if you reload the page there’s again no indication that the flow is broken; might be different on the mobile app, haven’t checked there).
