Add condition for which trigger started flow
Moderator: Martin
Add condition for which trigger started flow
When a flow is set to launch from multiple triggers, it would be nice to be able to use a condition to be able to execute different branches based on which trigger activated it.
Re: Add condition for which trigger started flow
You can already do that. For testing purposes use a Debug Dialog to find out the exact name of the trigger which started the flow. Then you can use a Condition - Expression to check.
Code: Select all
trigger == "my_trigger_1"
Re: Add condition for which trigger started flow
Thanks! Didn't even think of using a script. I still think it wouldn't be a bad idea to make an actual condition out of it, to make it more obvious how to do it and easier, but I leave that up to Martin to decide if it's worth the effort.