# Swap Translators On/Off

**URL:** <https://forum.bome.com/t/swap-translators-on-off/3646>\
**Category:** Bome Products\
**Created:** [November 7, 2021, 9:02am UTC](https://forum.bome.com/t/swap-translators-on-off/3646 "2021-11-07T09:02:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [November 7, 2021, 10:26pm UTC](https://forum.bome.com/t/swap-translators-on-off/3646/5 "2021-11-07T22:26:04Z")

</div>

OK, if only the two global variables need to match it would be

if s1!=t1 then exit rules, skip outgoing action.

If both s1 and t1 have to equal 1 then

if s1!=1 then exit rules, skip outgoing action  
if t1!=1 then exit rules, skip outgoing action

There are other ways to write it as well. [This post](https://forum.bome.com/t/and-or-and-else-ins-rules/1632/2) has a lot of examples of more complex Boolean logic.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

_[View the full topic](https://forum.bome.com/t/swap-translators-on-off/3646)._
