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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger conditions iss...
Power Automate
Answered

Trigger conditions issue, need help!!

(1) ShareShare
ReportReport
Posted on by 158
I have a flow that is trigger When an item is created or modified.
The current conditions is when a text column called "ConfirmStatus" value equals "BeforeApply" or "AfterApply".
 
If only one conditions as below, the flow is fine.
   @or(equals(triggerBody()?['ConfrimStatus'], 'BeforeApply'))
 
 
But flow don't trigger when I add two conditions like:
   @or(equals(triggerBody()?['ConfrimStatus'], 'BeforeApply'))
   @or(equals(triggerBody()?['ConfrimStatus'], 'AfterApply'))
 
Can't figure out where I missed....
Any information will be appreciate! Thank you!
Categories:
I have the same question (0)
  • Verified answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    Use @or(equals(triggerBody()?['ConfirmStatus'], 'BeforeApply'), equals(triggerBody()?['ConfirmStatus'], 'AfterApply'))
     

    Explanation:

    • The @or() function takes multiple conditions as arguments and evaluates to true if either condition is met.
    • The equals() function checks whether the value of ConfirmStatus is either 'BeforeApply' or 'AfterApply'.
    • Both conditions should be inside the same @or() function, separated by a comma.

    This should fix the issue, and your flow will trigger when the ConfirmStatus field is equal to either 'BeforeApply' or 'AfterApply'. Let me know if you need further assistance!

  • LinTse Profile Picture
    158 on at
    Hi @SaiRT14,
     
    It works perfectly!
    Thank you for your replied and explanation!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard