# Introducing the indicator dashboard block, Losant API workflow node, and workflow-to-workflow triggers

**URL:** <https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252>\
**Category:** Platform Updates\
**Created:** [September 14, 2016, 8:07pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252 "2016-09-14T20:07:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [September 14, 2016, 8:07pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/1 "2016-09-14T20:07:48Z")

</div>

Some awesome new features released today! Details on the blog: [https://www.losant.com/blog/introducing-indicator-block-api-node-workflow-triggers](https://www.losant.com/blog/introducing-indicator-block-api-node-workflow-triggers)

---

<div class="post-metadata">

**Author:** ![Dillon1337](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dillon1337/32/45_2.png) [@Dillon1337](https://forums.losant.com/u/Dillon1337)\
**Post date:** [September 21, 2016, 7:28pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/2 "2016-09-21T19:28:03Z")

</div>

I’m having an issue with the Indicator block. I have a value, which is a number. I have 2 conditions:

```
{{value}} == 1
{{value}} == 0

```

The value = 1 condition works and shows the correct text.  
The value = 0 condition does not work and shows the Default Condition text.

What am I doing wrong?

Thanks,  
Dillon

**Edit** : It appears that my {{value}} is undefined when it goes into the default condition block. I’m using a Number Gauge with the same data and it shows a 0. Not sure what’s going on.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [September 21, 2016, 7:53pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/3 "2016-09-21T19:53:00Z")

</div>

I haven’t looked at your workflow but this sounds like a classic JavaScript “falsy” trap.

Try switching the “==” in each expression to “===” and see if that resolves the issue.

More info on falsy values:

> **[Falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy)**
>
> A falsy (sometimes written falsey) value is a value that is considered false when encountered in a Boolean context.

---

<div class="post-metadata">

**Author:** ![Dillon1337](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dillon1337/32/45_2.png) [@Dillon1337](https://forums.losant.com/u/Dillon1337)\
**Post date:** [September 21, 2016, 7:55pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/4 "2016-09-21T19:55:48Z")

</div>

Just tried that and unfortunately I’m seeing the same issue.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [September 21, 2016, 8:16pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/5 "2016-09-21T20:16:20Z")

</div>

Turns out it was indeed a falsy issue … of my own doing. 🙂

We just deployed a fix for your case. Please let me know if it’s resolved.

---

<div class="post-metadata">

**Author:** ![Dillon1337](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dillon1337/32/45_2.png) [@Dillon1337](https://forums.losant.com/u/Dillon1337)\
**Post date:** [September 21, 2016, 8:19pm UTC](https://forums.losant.com/t/introducing-the-indicator-dashboard-block-losant-api-workflow-node-and-workflow-to-workflow-triggers/252/6 "2016-09-21T20:19:39Z")

</div>

Easy enough. It’s working great for me now. Cool feature. Thanks for the fix. 👍
