# Is there anyway to see which flows are still using deleted variables?

**URL:** <https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [May 23, 2020, 8:31am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257 "2020-05-23T08:31:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 23, 2020, 8:31am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/1 "2020-05-23T08:31:19Z")

</div>

When deleting a device, flows get a triangle with exclamation mark in it indicating that they are still using a non-existing device and won’t work anymore.  
However when deleting a variable, flows do not get any indication that it is using a non-existing variable, instead the flow card just gets an empty field.  
So when deleting a variable, it seems that there is no other way then just opening all the flows and checking the flow cards for empty fields.

Or does somebody else have a smart idea how to check, whether flows are using non-existing variables?

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [May 23, 2020, 8:42am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/2 "2020-05-23T08:42:24Z")

</div>

The most simple way i use is the naming of the variables. It’s an indication what it’s used for and therefore easier to trace where it is likely used.  
But i guess if you have many of them that would be more difficult.

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 23, 2020, 10:10am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/3 "2020-05-23T10:10:59Z")

</div>

I have approx 90 variables of all kind of types, not sure if that’s a lot of not. I do give them self explaining names, but that’s not enough to determine **all** the exact flows (more than 100) they are used in.  
Thanks anyway for your suggestion though 👍

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [May 24, 2020, 6:06am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/4 "2020-05-24T06:06:11Z")

</div>

Try searching for “broken”, not sure if that works for variables.

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [May 24, 2020, 6:39am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/5 "2020-05-24T06:39:10Z")

</div>

Not a real solution to your problem, but it does help preventing it.  
What I did is:  
1.I installed the [flow viewer](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427) (thanks to @DaneedeKruyff) .  
2. Your browser will now allow you to print a pdf of all your flows  
3. The pdf is searchable, so when you remove a variable, search for it and remove it too

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 24, 2020, 10:54am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/6 "2020-05-24T10:54:28Z")

</div>

Thanks, that might help indeed.

---

<div class="post-metadata">

**Author:** ![Frank\_van\_de\_Schuur](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frank_van_de_schuur/32/35882_2.png) [@Frank\_van\_de\_Schuur](https://community.homey.app/u/Frank_van_de_Schuur)\
**Post date:** [May 24, 2020, 10:56am UTC](https://community.homey.app/t/is-there-anyway-to-see-which-flows-are-still-using-deleted-variables/30257/7 "2020-05-24T10:56:36Z")

</div>

I tried in a logic flow card when adding a variable and then searched for “broken”. No results.  
Could be because there are none anymore, but could also be that your idea does not work.  
But thanks anyway
