Trigger question

Post your questions and help other users.

Moderator: Martin

Post Reply
bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Trigger question

Post by bogdyro » 02 Aug 2015 05:11

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

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: Trigger question

Post by colabi » 03 Aug 2015 00:54

Use something like this:
QuickMemo+_2015-08-03-03-50-49.png
QuickMemo+_2015-08-03-03-50-49.png (43.55 KiB) Viewed 9784 times

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Trigger question

Post by Nerey » 03 Aug 2015 05:06

You can use variable "trigger"
Use Expression trigger = "Manual" or like so
Sorry for bad english, my native is russian.

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Trigger question

Post by bogdyro » 03 Aug 2015 14:21

Thanks. Missed that one

Post Reply