Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Answered

Using multiple Trigger conditions in Powerautomate

Like (0) ShareShare
ReportReport
Posted on 3 Apr 2024 11:01:42 by 4

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

  • Kerrie_Dev Profile Picture
    4 on 03 Apr 2024 at 11:15:13
    Re: Using multiple Trigger conditions in Powerautomate

    Thank you so much for that, it worked 😀 im going to test all the situations to make sure but thank you so much

  • Verified answer
    v-yetonggu-msft Profile Picture
    on 03 Apr 2024 at 11:11:43
    Re: Using multiple Trigger conditions in Powerautomate

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
ankit_singhal Profile Picture

ankit_singhal 5 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 4 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 2 Super User 2025 Season 1

Overall leaderboard
Loading started