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 / Check if Get Items is ...
Power Automate
Unanswered

Check if Get Items is Empty

(0) ShareShare
ReportReport
Posted on by 49

Hi can anyone help me here, I want my flow to check if the Get items is empty or not. If Empty terminate the flow?

SionHuws_0-1667905924415.png

 

Categories:
I have the same question (0)
  • Verified answer
    Sundeep_Malik Profile Picture
    6,484 on at

    Hey @SionHuws 

     

    You can use length function here.

    Just do the following:

    Add a condition action. In that condition on left side put one of the following expression:

     

    length(outputs('Get_items')?['body/value'])
     
    And put the condition greater than 0.
    On if yes side, keep the normal flow actions and in if no, terminate it.

    Sundeep_Malik_0-1667906156478.png

     

    If this was the answer, you were looking for, you can mark this as the solution. If you liked the explanation, you can give a thumbs up/kudo. This really helps. Thanks. 🙂

  • HVO Profile Picture
    18 on at

     

    Ignore this message.

  • VarunKapoor07 Profile Picture
    6 on at

    You can also check if its empty using below fx

    empty(body('Get items')?['value']) >>> is equal to >> true
    VarunKapoor07_0-1709222375895.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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard