web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger based on 'or' ...
Power Automate
Answered

Trigger based on 'or' condition (Status either 'New' or 'Pending')

(0) ShareShare
ReportReport
Posted on by 300

Hi! I currently have below condition for my flow trigger. How do I modify the formula if I want it to run if the Status value is either 'New' or 'Pending'? Sounds simple but not sure how to modify it. Thank you so much!

 

jaanihsm_0-1718138345008.png

 

Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at

    Hi @jaanihsm 

     

    You code would look like:

    @or(
     equals(triggerBody()?['Status']?['Value'], 'New'), 
     equals(triggerBody()?['Status']?['Value'], 'Pending')
    )

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube| [My blog]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • jaanihsm Profile Picture
    300 on at

    Just added a new trigger but my flow is still not triggering. My SharePoint list has 2 'New' items. Any directions? Thank you!

     

    jaanihsm_0-1718139416239.png

     

  • jaanihsm Profile Picture
    300 on at

    Hi @SpongYe! Right I will copy paste that and let you know. Thank you.

  • jaanihsm Profile Picture
    300 on at

    This worked! Thanks! 🙂

  • jaanihsm Profile Picture
    300 on at

    Hi @SpongYe! I hope you don't mind if I have a follow-up question.

     

    My flow is running twice and the first Signer gets 2 email notifications. Can you please help me check what is wrong? Is it because of the first condition? 

     

    When a user creates a request for signature, the status value is 'New'. If it is new, Signers multi-select column is checked if any is away via a filter query on a delegation SP list.

     

    If request needs delegation, Signers (Approvers variable) is edited and then status value is changed from New to Pending. 

    If request does not need delegation, Signers (Approvers variable) just gets the Signers claims, no changes but updates the item from New to Pending.

     

    Not sure why I am getting the email notification twice? I need to keep Status to Pending to loop until all signatures are done. But even if I only have one Signer, flow runs twice? Please help! Thank you in advance!

     

    jaanihsm_0-1718145556136.png

    jaanihsm_1-1718145573040.png

    jaanihsm_2-1718145598941.png

    jaanihsm_3-1718145615250.png

    jaanihsm_4-1718145631638.png

    jaanihsm_5-1718145649921.png

     

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard