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 / Condition that looks f...
Power Automate
Answered

Condition that looks for a specific field value in Get Item action

(0) ShareShare
ReportReport
Posted on by 14
Sorry for the long title.

Hi there, I am trying to make a Condition that evaluate a specific field value in Get item, for example: Status is equal to "Present". So, if the value is null or "Present" then Create a new item otherwise stop.

Most solutions were using "@equals(length(body(‘Get_items’)?[‘value’]), 0)" in the condition which wasn't specific.
Categories:
I have the same question (0)
  • Brad_Groux Profile Picture
    4,556 on at

    The condition would look something like this:OrCondition.PNG

    You would simply have the item is equal to Present or the item is equal to null expression. To add the second condition item, click the +Add button and choose Add row. And change the And condition to an Or via the dropdown.

    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!

  • Melio Profile Picture
    14 on at
    Thank you for your help. Sorry, I meant to say "Get items" with "s."

    The output of SP "Get items" is a big chunk of data of all items. But, I need the condition to look for specific fields in that output all the items. Let's say 3 items out of 10 contain Status "Present, " Flow should then copy them to the second SP.
  • Verified answer
    Brad_Groux Profile Picture
    4,556 on at

    If you add a condition after a Get items (or any multiple item action, like Get files or Get rows), Flow will automatically create an apply to each each loop. I just created this, and as soon as I added a parameter to the condition, it automatically created the Apply to each while nesting the condition automatically: 

    ApplyToEach.PNG

    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!

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard