# Boolean And Problem

**URL:** <https://discourse.nodered.org/t/boolean-and-problem/61290>\
**Category:** General\
**Tags:** function-node\
**Created:** [14 April 2022 12:47 UTC](https://discourse.nodered.org/t/boolean-and-problem/61290 "2022-04-14T12:47:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sven\_Erik](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sven\_Erik](https://discourse.nodered.org/u/Sven_Erik)\
**Post date:** [14 April 2022 12:47 UTC](https://discourse.nodered.org/t/boolean-and-problem/61290/1 "2022-04-14T12:47:56Z")

</div>

Thanks for your help at my last Problem. It works now.  
Now I have another Problem. I installed boolean for And/ Or functions. „Endlage Tor Zu“ is an Gpio In from my raspberry and it works with my and function but it doesnt matter if i give out an „True“ Or just a „1“ of my function, my and function doesnt Switch through it. There is always an „unknown“ under my function. Can u Tell me whats wrong with my function ?

Edit: msg.plaetze is wrong. Its also msg.payload

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af89b2305677a223afd09fe855f46f5e8c3dd956.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5fecdb2e75d6895302d312d88a72cefb314e8fec.jpeg)

---

<div class="post-metadata">

**Author:** ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Post date:** [14 April 2022 20:02 UTC](https://discourse.nodered.org/t/boolean-and-problem/61290/2 "2022-04-14T20:02:57Z")

</div>

Hi @Sven_Erik!  
Could you paste the `JSON` of you flow, please?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 June 2022 20:03 UTC](https://discourse.nodered.org/t/boolean-and-problem/61290/3 "2022-06-13T20:03:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
