Flow running

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

Moderator: Martin

Locked
User avatar
bodyalive
Posts: 32
Joined: 07 Apr 2013 13:21

Flow running

Post by bodyalive » 01 Jun 2013 20:32

I would like to have a condition

"Flow running"

the condition checks if a specific flow is running or not

(it's different from the exsiting condition flow enabled)

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Flow running

Post by MURTUMA » 02 Jun 2013 13:22

There is such thing already (kind of). You can put an action "execute flow" to run a flow, in which you originally wanted to put such condition.

User avatar
bodyalive
Posts: 32
Joined: 07 Apr 2013 13:21

Re: Flow running

Post by bodyalive » 02 Jun 2013 17:48

Nope,
you can't compare a condition with an action.

I need CONDITION to check something , not an action.

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Flow running

Post by pat2net » 02 Jun 2013 22:48

By adding a global variable at the start of the flow and changing the value at the end you can do it. I send you 2 flow for the exemple.

http://automagic4android.com/flow.php?i ... 343c51a884

User avatar
bodyalive
Posts: 32
Joined: 07 Apr 2013 13:21

Re: Flow running

Post by bodyalive » 03 Jun 2013 13:36

pat2net wrote:By adding a global variable at the start of the flow and changing the value at the end you can do it. I send you 2 flow for the exemple.

http://automagic4android.com/flow.php?i ... 343c51a884


Thank you very much, your flow are very intersting but i dont think they fit my need.

i would like to put a condition inside a flow to check if the flow is running, and if so stop it.
it's about the viber and whatsapp reminders flows ( see in flow sharing area).
When i get a new msg in viber the flow starts, its ok, but if i get more msgs before i open the viber app, the flow starts for each msg received. example

Hello, ( flow starts)
how are you? ( flow starts)
i am fine ( flow starts)

I would like the flow starts only for the 1st msg.

fly
Posts: 10
Joined: 01 May 2013 15:19

Re: Flow running

Post by fly » 03 Jun 2013 18:36

Then after the trigger, check if global_myflowrunning==1. If false, immediately set global_myflowrunning to 1. Then at the end of the flow, set global_myflowrunning to 0. I'm pretty sure that is what was already suggested tho.

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Flow running

Post by pat2net » 04 Jun 2013 03:33

I tink I understand more what you want. I made some change to one of your flow. Tell me if it's what you want. (I add the exeption because i don't have what's app and the global variable was stick to the 2 value)

http://automagic4android.com/flow.php?i ... 727dfca958

User avatar
bodyalive
Posts: 32
Joined: 07 Apr 2013 13:21

Re: Flow running

Post by bodyalive » 04 Jun 2013 07:04

pat2net wrote:I tink I understand more what you want. I made some change to one of your flow. Tell me if it's what you want. (I add the exeption because i don't have what's app and the global variable was stick to the 2 value)

http://automagic4android.com/flow.php?i ... 727dfca958

Thank you very much, but what is global_atchoum? :)

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Flow running

Post by pat2net » 04 Jun 2013 10:08

I got a cold and guess what append when I was searching a name for the variable...

User avatar
bodyalive
Posts: 32
Joined: 07 Apr 2013 13:21

Re: Flow running

Post by bodyalive » 24 Aug 2013 23:13

Thank you Martin for adding Flow executing condition ;-)

Locked