how to know which trigger was triggered

Post your questions and help other users.

Moderator: Martin

Post Reply
ChibiRobo
Posts: 1
Joined: 01 Mar 2016 01:07

how to know which trigger was triggered

Post by ChibiRobo » 01 Mar 2016 01:13

Hello !

I have a flow with 2 triggers, they lead to different routes, and I need to know which trigger have started the flow.

I've seen the variable triggertime but it doesn't help that much.

Thanks !

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

Re: how to know which trigger was triggered

Post by bogdyro » 01 Mar 2016 03:18

Hi. There's also a variable called 'trigger'. Using debug dialog u can find out what the trigger is and then use condition 'expression' to test which trigger fired.

User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Re: how to know which trigger was triggered

Post by Bushmills » 25 May 2016 05:04

Name of trigger - that is, contents of variable {trigger} - is identical to the field "Standard name" in the trigger setup dialog, No need for debug dialog to find out.
That also means: beware when changing that name in trigger setup - a flow comparing against this name may cease to function correctly.

Post Reply