# Dashboard boolean toggle/set buttons send TRUE vs "TRUE"

**URL:** <https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406>\
**Category:** Help\
**Tags:** dashboard, workflow\
**Created:** [November 25, 2019, 1:05am UTC](https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406 "2019-11-25T01:05:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Cruz](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jose_cruz/32/1580_2.png) [@Jose\_Cruz](https://forums.losant.com/u/Jose_Cruz)\
**Post date:** [November 25, 2019, 1:05am UTC](https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406/1 "2019-11-25T01:05:00Z")

</div>

I have 2 ‘exact’ set _button/toggle_ combination dashboard blocks doing the same function but for 2 different kind of actions, as you can see below. I even have the same ‘naming convention’, same device action but 2 different boolean attributes, of course. Still, one renders a payload msg with a boolean **true** or 1 (alert\_tamper), the other the a string ‘true’ (alert\_batt), which of course in the case of the string ‘true’ version fails the condition node (because ‘true’ is NOT equal to value 1) ⤵

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/e/ec93409500b908fbd39da8605f451b8a08ab669d.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/9/946edb0d8409fdb7ee9caaba4edc579ac6b04725.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/67dc3575fea5fc080f5e2c9f70ad1a944fef16bf.png)  
I had no choice but to have one workflow condition node set to **…value == 1** , the other to **…value === “true”**. I’m trying to figure out why the different type of value for this two ‘identical’ actions. As always, thanks. 🔴

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [November 25, 2019, 3:49pm UTC](https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406/2 "2019-11-25T15:49:13Z")

</div>

Hi @Jose_Cruz,

This behavior does seem inconsistent, and I am testing it currently. I will get back to you shortly with more information!

My first suspicion would be the quotes around “{{alert\_batt\_all}}” and “{{alert\_tamper\_all}}.” However, since there is not much of a difference between the two payloads, the problem is not evident yet. I will explore this further and get back to you shortly with a solution and explanation.

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Jose\_Cruz](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jose_cruz/32/1580_2.png) [@Jose\_Cruz](https://forums.losant.com/u/Jose_Cruz)\
**Post date:** [November 25, 2019, 4:01pm UTC](https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406/3 "2019-11-25T16:01:23Z")

</div>

@🧙‍♀️! Thank you! 🔴

---

<div class="post-metadata">

**Author:** ![Jose\_Cruz](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jose_cruz/32/1580_2.png) [@Jose\_Cruz](https://forums.losant.com/u/Jose_Cruz)\
**Post date:** [December 1, 2019, 10:38pm UTC](https://forums.losant.com/t/dashboard-boolean-toggle-set-buttons-send-true-vs-true/2406/5 "2019-12-01T22:38:08Z")

</div>

@JuliaKempf 🧙‍♀️, I did some 🔍into this and, as it turns out, you were right (again) it seems the culprit might be the **" "s** , see below ⤵

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/e/edde180f82afb2dc6aac9e89455516a19023e3bd.png)  
I’ll keep looking into it, it still doesn’t explain why, but at least now I know why the ‘inconsistencies’. If you guys find a better explanation, let me know,  
Thank you! 🔴
