# Variable values not showing up in flow tags

**URL:** <https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931>\
**Category:** Developers\
**Tags:** advancedflow\
**Created:** [January 12, 2024, 4:00pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931 "2024-01-12T16:00:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_RB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_rb/32/79349_2.png) [@Johan\_RB](https://community.homey.app/u/Johan_RB)\
**Post date:** [January 12, 2024, 4:00pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/1 "2024-01-12T16:00:08Z")

</div>

Hi,

I have a HomeyScript with only one line of code:

```auto
tag("AvgPrice", "Test");

```

When running the script, it creates a flow tag but the value is always “-” when trying to reach it from the advanced flow.

Any ideas why?

I have tried with both strings and numerical values but both of them just shows up as a “-”. (See to the right in the attached image)

Thanks!  
 ![Skärmavbild 2024-01-12 kl. 16.55.23](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0c5dde3b9a3fe4242bc5aee6e2fd408fe606ed45.png)

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 12, 2024, 4:25pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/2 "2024-01-12T16:25:36Z")

</div>

better use this format: `await tag('neerslag', data);`

---

<div class="post-metadata">

**Author:** ![Johan\_RB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_rb/32/79349_2.png) [@Johan\_RB](https://community.homey.app/u/Johan_RB)\
**Post date:** [January 12, 2024, 5:33pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/3 "2024-01-12T17:33:21Z")

</div>

Tried it, but that did unfortunately not help.

```auto
await tag('Test123', 123);

```

Still just shows up as a “-”. Weird thing is that it marks the flow tag green if I enter a string, and blue if I enter an integer.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [January 12, 2024, 8:08pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/4 "2024-01-12T20:08:35Z")

</div>

Are you really sure it is `-`? and not just a never implemented feature in the web app? (hint hint)

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 12, 2024, 11:49pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/5 "2024-01-12T23:49:38Z")

</div>

How does your flow look like? Please share if you want help.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 13, 2024, 1:12am UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/6 "2024-01-13T01:12:09Z")

</div>

> ![Screenshot_20240113-020822_Firefox](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89a1e1439f44e361f353528b197a05f206273633.jpeg)

Like Caseda hinted (I think), just use the tag in a timeline notification card → THEN you’ll see its value.  
Not in the selection list.

> [@Johan\_RB](#):
>
> Weird thing is that it marks the flow tag green if I enter a string, and blue if I enter an integer.

That’s b/c green is used with string tags, and blue for num tags

---

<div class="post-metadata">

**Author:** ![Johan\_RB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_rb/32/79349_2.png) [@Johan\_RB](https://community.homey.app/u/Johan_RB)\
**Post date:** [January 13, 2024, 4:31am UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/7 "2024-01-13T04:31:52Z")

</div>

Here’s a screenshot of the flow. All of the HomeyScript values are “-” but displays fine from other apps.

 ![Skärmavbild 2024-01-13 kl. 05.30.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d29f210d2a6b2945bf45b4dc30441b9aff2664f6.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 13, 2024, 9:44am UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/8 "2024-01-13T09:44:50Z")

</div>

Like I proposed, send the tag with a notification card. Does it send a “-”?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 13, 2024, 12:40pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/9 "2024-01-13T12:40:50Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f3b9d5a05d85ab6ec61879fdfd165a82027b0356.png)

The flow must have RUN at least once, before the value is visible.  
( this is done on my HomeyPro(early2016) )

---

<div class="post-metadata">

**Author:** ![Johan\_RB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_rb/32/79349_2.png) [@Johan\_RB](https://community.homey.app/u/Johan_RB)\
**Post date:** [January 14, 2024, 3:45pm UTC](https://community.homey.app/t/variable-values-not-showing-up-in-flow-tags/100931/10 "2024-01-14T15:45:47Z")

</div>

Just like [JPe4619](https://community.homey.app/u/JPe4619) said, the solution was to run the script once in the advanced flow and then the valued showed up!

Thanks alot!
