Skip to main content

Notifications

Community site session details

Community site session details

Session Id : YecaJZz2GK9EY0QMAJRQUp
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started