Page 1 of 1

Flow running

Posted: 01 Jun 2013 20:32
by bodyalive
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)

Re: Flow running

Posted: 02 Jun 2013 13:22
by MURTUMA
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.

Re: Flow running

Posted: 02 Jun 2013 17:48
by bodyalive
Nope,
you can't compare a condition with an action.

I need CONDITION to check something , not an action.

Re: Flow running

Posted: 02 Jun 2013 22:48
by pat2net
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

Re: Flow running

Posted: 03 Jun 2013 13:36
by bodyalive
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.

Re: Flow running

Posted: 03 Jun 2013 18:36
by fly
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.

Re: Flow running

Posted: 04 Jun 2013 03:33
by pat2net
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

Re: Flow running

Posted: 04 Jun 2013 07:04
by bodyalive
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? :)

Re: Flow running

Posted: 04 Jun 2013 10:08
by pat2net
I got a cold and guess what append when I was searching a name for the variable...

Re: Flow running

Posted: 24 Aug 2013 23:13
by bodyalive
Thank you Martin for adding Flow executing condition ;-)