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 / Get Items Filter Query...
Power Automate
Unanswered

Get Items Filter Query off of People Picker field

(0) ShareShare
ReportReport
Posted on by 183

I am trying to create an approval workflow based off of two separate lists.

 

On my first list I have users submitting their weekly Time Sheet. One of the SharePoint columns they write to is a People Picker that they use to select their profile.

 

The Second List has multiple people picker fields. One of the fields is the 'Submitter' people picker. My thought process is to setup this list so the site admin can update the list with new employees. Those employees have specific users that would approve their time sheet.

 

So if User A submits, Approver A is selected within the flow. If User B submits, Approver B is selected to receive the approval email.

NathanFra_0-1657905342909.png

I need to filter my approvers list based off of whatever claims profile is submitted on my time sheet list.

 

Thanks!

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @NathanFra 

    This blog post will explain how to filter on a person or group column.

    The short answer is that your filter need to look something like this:

    Submitter/EMail eq 'jimg@abc.com'

    Note the following:

    • There must be single quotes around the email address
    • You need to use the internal name (which may not be the same as the display name) of your column
    • Case is important - use EMail not email

     

     

     

  • NathanFra Profile Picture
    183 on at

    @ScottShearer 

    Thank you for the reply. I tried the following, but my flow still failed at the Get Items stage. I'm not able to enter a static email address in, as the email address changes per user submitting on their time sheet.

     

    NathanFra_0-1657908031306.pngNathanFra_1-1657908075378.png

     

  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @NathanFra 

    The static email address was just to show you the syntax - you can use the SharePoint column reference assuming the you select column name followed by email from dynamic properties.

    You screen shot shows that you forgot the single quotes around the email address.

    image.png

     

     

     

  • Sameer1 Profile Picture
    2 on at

    Getting the Error when trying to filter the People picker field with Get items -

     

    The query is not valid.
    clientRequestId: bcd58e92-4ba7-42a0-bfba-17ac4acc5031
    serviceRequestId: bcd58e92-4ba7-42a0-bfba-17ac4acc5031

     

    Approver/EMail eq 'rex.jones@technet.com' - This query isn't working 

  • MShark Profile Picture
    4 on at

    I think I solved this for a people column that allows multiple people.  Instead of using the equals (eq) function use the substringof function.  So it would look like substringof('Employee Email', Submitter/EMail).  Where Employee Email would of course be your dynamic content that populates the employee email address.  The others left you hanging on this one.  Hope this helps!

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