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 / Flow does not return a...
Power Automate
Answered

Flow does not return any values in Get Items with a filter query

(1) ShareShare
ReportReport
Posted on by 546

I have a Power Automate Workflow that uses 2 SharePoint lists.

The first list, someone completes a form and there is a choice field called “Learning Sessions” with possible values of “Emergency Medicine”, “Family Medicine”, and “Pediatrics”.

The person selects “Emergency Medicine” and “Family Medicine”.

I append to an array variable called arrSessions. When I compose arrSessions I see this when I run the flow:

[

  {

    "Value": "Emergency Medicine"

  },

  {

    "Value": "Family Medicine"

  }

]

Enter my second list.

I’m trying to get the appropriate department email for each department. When I do a get items for this with no filter query, I return every item in the list like you would expect, when I append to a string variable strPrimaryEmailAddress.

When I hard code in Department eq ‘Emergency Medicine’ for the filter query it returns the email address for that department.

When I put in Department eq ‘Output’, meaning the compose results from my array up above, the append to string variable gets skipped.

I’ve checked in list 1 - Emergency Medicine, Family Medicine, etc are all spelled the same way. Both lists have them as choice fields.

I’ve been staring at this for a couple of hours. Anyone have any thoughts?

Categories:
  • Verified answer
    smorley Profile Picture
    546 on at
    Fixed it with this video:  https://www.youtube.com/watch?v=OXEcLqDvCrc

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard