Page 1 of 1

Trigger question

Posted: 02 Aug 2015 05:11
by bogdyro
Hi. I have a flow to randomly play a different ringtone on each new call. It's triggered by a call hangup.
I would like to set some settings (some variables to this flow) only when I trigger it manually or pressing a widget or accessing a shortcut to it. Is there a way to distinguish between manually starting the flow and trigger incoming call? I know I could create another flow and set some global variables or write them to a file and when the other flow is triggered to read those values, but I would like all to be done in the same flow. Thanks

Re: Trigger question

Posted: 03 Aug 2015 00:54
by colabi
Use something like this:
QuickMemo+_2015-08-03-03-50-49.png
QuickMemo+_2015-08-03-03-50-49.png (43.55 KiB) Viewed 9788 times

Re: Trigger question

Posted: 03 Aug 2015 05:06
by Nerey
You can use variable "trigger"
Use Expression trigger = "Manual" or like so

Re: Trigger question

Posted: 03 Aug 2015 14:21
by bogdyro
Thanks. Missed that one