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 / Get Items value is emp...
Power Automate
Suggested Answer

Get Items value is empty when it wants to be

(1) ShareShare
ReportReport
Posted on by 112
My Flow usually works just fine if the sharepoint Title ID is already there, Get items works great. 
 
 
 
 
The condition is if the title is equal to the dynamic content from the form it will be true, as you can see it works if it's inside the sharepoint. 
But if it's not in the sharepoint I get this error
 
ActionConditionFailed
The execution of template action 'Condition' is skipped: there are no items to repeat.
 

But we see it's getting the Title eq '88222' just fine but the body value is coming out as [], Any idea why??
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,874 Most Valuable Professional on at
    [] means that it returned an empty array/collection. In other words, it has returned 0 results.
     
    That means it hasn't been able to find an item with the title 82222. Have you checked if that item exists?
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,978 Moderator on at
    I want to add, because you are the second person saying this.
     
    IT Is NOT an Error, not even close. It is an informational, telling you that you passed in something that was Blank and therefor it couldn't do its job.
     
    This is the oppositive of an error, although if you EXPECT there to be data, then you need to look at the flow, look at what it was supposed to do, look at the inputs and outputs of everything, if you are calling data from  a list or database or flat file, make sure that it is actually there
     
    The number of times someone thought it was "for absolutely positive surety" and were wrong... i'd be rich if I had a nickle each time
    Spaces, people messing up the data, changing it bla bla...
     
    Check why the data you thought you have, does not have the details you are calling an error on the action.
     
  • Suggested answer
    ZackS Profile Picture
    112 on at
    It is reading the information, If you can see the screenshot the value of the body should be 82222, since it's not appearing like that it's not working correctly. I've never had this problem until recently. 

    I have no idea what else to do, I'm asking for help to get it to show the value not for someone saying "this isn't an error"
  • Suggested answer
    David_MA Profile Picture
    14,497 Super User 2026 Season 1 on at
    The error indicates that no items were returned from the Get items action that you use in the Apply to each. Before the Apply to each, you should add a condition to check if the number of items returned is greater than 0. You can accomplish this with the length expression, which you can read about at in this blog post How to count number of items returned by SharePoint GetItems action in Flow – Tahoe Ninjas.
     
    Then if returns more than 0 items, move your actions to the yes side. The no side will do nothing and the workflow will end.
  • Suggested answer
    ZackS Profile Picture
    112 on at
    Thank you david, You're a huge help.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard