
Announcements
I am trying to incorporate a kind of IF statement into my powerapp with a flow (power automate), Below is what I would like to carry out, is this possible?
I have 6 toggle buttons and IF one of them is set to true THEN (If toggle 'Fresh' = true OR toggle 'chilled' = true THEN (SEND AN EMAIL to 'Chilled email if Chilled = true AND/OR 'fresh email if fresh = true')
The thing you are trying to achieve is not fully clear for me based on your description. But maybe a first direction would do the trick.
You would need a combination of If(), Or() and And() statements.
If(Or(toggleFresh.Value, toggleChilled.Value), runFlow(Concatenate(If(Toggle1.Value, "Toggle1", ""), If(And(Toggle1.Value, Toggle2.Value), "; ", ""), If(Toggle2.Value, "Toggle2", ""))))
The value within runFlow is the parameter you give as input to the flow. You can use this for the to field in Power Automate.
I hope you get what I am trying to bring across.