# What flow is using a specific variable

**URL:** <https://community.homey.app/t/what-flow-is-using-a-specific-variable/9658>\
**Category:** Questions & Help\
**Created:** [February 24, 2019, 9:05pm UTC](https://community.homey.app/t/what-flow-is-using-a-specific-variable/9658 "2019-02-24T21:05:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygeffens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ygeffens/32/1905_2.png) [@ygeffens](https://community.homey.app/u/ygeffens)\
**Post date:** [February 24, 2019, 9:05pm UTC](https://community.homey.app/t/what-flow-is-using-a-specific-variable/9658/1 "2019-02-24T21:05:50Z")

</div>

I was thinking to move my Better Logic Variables to Homey Logic.

For this I want to make a list of Flows where a specific Variable is used in.

Anyone has a Homescript for this?

---

<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:** [February 24, 2019, 10:07pm UTC](https://community.homey.app/t/what-flow-is-using-a-specific-variable/9658/2 "2019-02-24T22:07:57Z")

</div>

I have something that works for Homey 1.x but still have not updated/checked for 2.x

You could look at

> <https://github.com/Dijker/HomeyScript-GeekBackup/blob/master/0.3-logFlows2Text.js>

by changing line #79 and #80 I was able to run it without Errors on 2.0 but I am not sure all intended functionality still works…

```
if (obj.uriObj && obj.uriObj.meta ) { var DevZone = obj.uriObj.meta.zoneName ? ' - ' + obj.uriObj.meta.zoneName : '' }
log(' C>> ' + obj.uri + DevZone + ' - ' + obj.id);

```

Maybe this is a start?

---

<div class="post-metadata">

**Author:** ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)\
**Post date:** [February 25, 2019, 2:53am UTC](https://community.homey.app/t/what-flow-is-using-a-specific-variable/9658/3 "2019-02-25T02:53:48Z")

</div>

Not homeyscript but you could use [this standalone flow viewer](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427) and do a search for “better logic variable” and it should show all the flows that uses it.
