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 Automate
Unanswered

Condition no working

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have a flow which has rows from sharepoint with status rejected or approved, I did a condition that if the value is approved. However, when running the flow the output when the condition is approved is false 

dcarreropinto_1-1667560628241.png

I don´t understand why all the outputs are false rejected or approved 

 

 

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey @dcarreropinto 

     

    Did you add the Condition like the below -

     

    CFernandes_0-1667567453970.png

     

    If so it should work...

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • grantjenkins Profile Picture
    11,063 Moderator on at

    It looks like you've added a Choice field to your SharePoint List called Status with options Approved, Rejected, etc.

     

    When using Choice fields in Power Automate you get two fields to choose from. In your case you will have Status which contains the Id and Value, and another field called Status Value that just contains the value of the field (Approved, Rejected, etc.).

     

    grantjenkins_0-1667632099986.png

     

    So, in your Condition, you should be using the Status Value as so:

    grantjenkins_1-1667632126515.png

     

    If you were only interested in getting the approved items, then I'd suggest using the Filter Query within Get items. Then you don't even need to add the Condition within the Apply to each since you only retrieved approved items.

     

    The Filter Query in your case would be:

    Status eq 'Approved'

     

    grantjenkins_2-1667632308886.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

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