Page 1 of 1

Logical Operators In Automagic

Posted: 20 Sep 2016 05:57
by akhileshg1988
Hey Martin!
Can more than one triggers, conditions and/or actions (used simultaneously inside a particular flow) not be connected using the logical operators AND and OR?
Many a time, while designing flows, I feel the need for this. If possible, please implement it in Automagic.
I noticed that almost all the other automation apps available out there (though none of them matches the calibre of automagic, particularly in terms of ease and simplicity) do provide such an implementation.

Thanks
Akhilesh

Re: Logical Operators In Automagic

Posted: 20 Sep 2016 19:23
by Martin
Hi,

Automagic allows to add multiple triggers to the same flow. Since triggers are events or instant state changes, it's not possible to AND two triggers together since the event will unlikely happen at the same time.
You can easily combine multiple conditions to behave as AND, OR etc. Following diagram should help:

AND:
Image

OR:
Image

XOR:
Image

Regards,
Martin

Re: Logical Operators In Automagic

Posted: 09 Mar 2017 21:03
by Merlin123
Thanks a lot! I works :)