2 or more triggers and conditional triggers
Moderator: Martin
2 or more triggers and conditional triggers
ability to have 2 or more triggers at the same time and conditional triggers. I would like to have a flow that would start an action when a trigger has not being set (conditional trigger). If for example I am waiting for trigger based on locale and the location has not being met, then to go and complete a different action. I am aware that on many cases you can do this by setting a second flow or a bit complex logic, but if this way you can create a flow a lot more simpler and still get the same result.
Re: 2 or more triggers and conditional triggers
i agree on this.. when i start to create complex flows, it's required that 2 or more triggers should be included, but, in the same flow.
so, when there are more than one trigger, a special condition needs to be there (AND-OR) first.
also, there might be a variable for all triggers, for ex. a flow is created with (Trigger 1 OR Trigger 2)
when one of them is triggered with OR, we need to get which one was triggered? with that variable..
so, when there are more than one trigger, a special condition needs to be there (AND-OR) first.
also, there might be a variable for all triggers, for ex. a flow is created with (Trigger 1 OR Trigger 2)
when one of them is triggered with OR, we need to get which one was triggered? with that variable..
Re: 2 or more triggers and conditional triggers
Triggers in Automagic are event-handlers that immediately execute a flow, it is therefore not possible to AND two triggers since the event does not occur at the same time. Additional conditions can be checked by adding one or multiple conditions right after the trigger. You can also add multiple triggers to the trigger box if you want to execute a flow on different events (like an OR).
For example:
-trigger "SMS Receive"
-condition "Time Range: 6:00 - 22:00"
-->true: -action "Play Sound"
-->false: -action "Vibrate"
The name of the trigger that executed the flow is available in local variable trigger.
Regards,
Martin
For example:
-trigger "SMS Receive"
-condition "Time Range: 6:00 - 22:00"
-->true: -action "Play Sound"
-->false: -action "Vibrate"
The name of the trigger that executed the flow is available in local variable trigger.
Regards,
Martin
Re: 2 or more triggers and conditional triggers
Thanks for the reply. What about the mute/ignore trigger during flow action? Or a way to condition a trigger only after a variable/condition is present?Martin wrote:Triggers in Automagic are event-handlers that immediately execute a flow, it is therefore not possible to AND two triggers since the event does not occur at the same time. Additional conditions can be checked by adding one or multiple conditions right after the trigger. You can also add multiple triggers to the trigger box if you want to execute a flow on different events (like an OR).
For example:
-trigger "SMS Receive"
-condition "Time Range: 6:00 - 22:00"
-->true: -action "Play Sound"
-->false: -action "Vibrate"
The name of the trigger that executed the flow is available in local variable trigger.
Regards,
Martin
BTW congrats, just saw the app featured on Lifehacker