Page 1 of 1

conditions and actions groups

Posted: 27 Jun 2014 13:32
by automate
hi.
it would be useful to be able to compose sets of condistions/actions to be used at once.
as an example, if i need to disable bluetooth, gps, mobile data and wifi in many situations, i'd like to create a group of actions (let's call it "connections off") so that i can add all those actions to all my flows at once.
thanks.

Re: conditions and actions groups

Posted: 27 Jun 2014 13:37
by kintrupf
You can put those actions in a flow without trigger and just execute that flow from another flow with the "Execute Flow" action.

Re: conditions and actions groups

Posted: 27 Jun 2014 13:43
by automate
oh, i see.
not so intuitive but it's fine,
thanks a lot!

Re: conditions and actions groups

Posted: 03 Jul 2014 10:24
by automate
maybe i'm wrong but... it's not possible to do the same for conditions, right?
the problem seems to be the true/false output... :roll:

Re: conditions and actions groups

Posted: 18 Jul 2014 09:06
by bichlepa
"The executed flow will inherit the execution context with all variables of the parent flow." (http://automagic4android.com/en/help/co ... cute_flows)
I wonder whether the variables will be sent to the parent flow back when "Wait for called flows to finish" is checked. If so, conditions should be possble, too.

Re: conditions and actions groups

Posted: 18 Jul 2014 09:31
by Martin
Yes, but only when Return variables to the calling flow is checked.