Hi I'm trying to create a Power automate flow what triggers when certain conditions are met. The idea is there is 4 situations where i want the flow to start
@And(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Closed'), equals(triggerOutputs()?['body/EmailSentToUser'], false))
@And(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Open'), equals(triggerOutputs()?['body/EmailSentToUser'], false))
@And(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Open'), equals(triggerOutputs()?['body/EmailSentToUser'], true))
@And(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Closed'), equals(triggerOutputs()?['body/EmailSentToUser'], true))
I have added one in as a trigger condition and that worked but when i added a 2nd in the flow didn't trigger.
Can someone spot something i cant? or if this is even possible? Im new to all of this so any support would be appreciated
Thank you so much for that, it worked 😀 im going to test all the situations to make sure but thank you so much
Hi @Kerrie_Dev ,
Do you want to add these four triggers to a trigger.
When a condition is met, the flow is triggered?
If so,please try put this expression into the trigger.
@Or(and(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Closed'), equals(triggerOutputs()?['body/EmailSentToUser'], false)),
and(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Open'), equals(triggerOutputs()?['body/EmailSentToUser'], false)),
and(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Open'), equals(triggerOutputs()?['body/EmailSentToUser'], true)),
and(equals(triggerOutputs()?['body/MatterStatus/Value'], 'Closed'), equals(triggerOutputs()?['body/EmailSentToUser'], true)))
Best Regards,
Sunshine Gu
ankit_singhal
5
Super User 2025 Season 1
Michael E. Gernaey
4
Super User 2025 Season 1
David_MA
2
Super User 2025 Season 1