Logical Operators In Automagic

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
akhileshg1988
Posts: 109
Joined: 16 Apr 2014 04:57

Logical Operators In Automagic

Post by akhileshg1988 » 20 Sep 2016 05:57

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Logical Operators In Automagic

Post by Martin » 20 Sep 2016 19:23

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

Merlin123
Posts: 5
Joined: 08 Mar 2017 11:45

Re: Logical Operators In Automagic

Post by Merlin123 » 09 Mar 2017 21:03

Thanks a lot! I works :)

Locked