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 / Comapre two sharepoint...
Power Automate
Unanswered

Comapre two sharepoint lists

(0) ShareShare
ReportReport
Posted on by 834

Hi all,

i have two SharePoint lists

A - where users submit data (contains also month, approval status etc...)

B - list of all users (contains also a column if user is required to submit to list A)

 

Now i want a flow that will look at list B, get all users that should submit to A and send them an email...  I know how to query a list do a filter, but i have no idea how compare them... i always get only those that already submitted (but i need those that have not).

Categories:
I have the same question (0)
  • leyburn19 Profile Picture
    2,157 on at

    Get items  - List A

    Apply to Each

    Get Items List Person in list B equals person in List A

    Compose - Count of Result

    Condition if result = 0

    Yes = Send email to person found in List B

  • Sifu Profile Picture
    834 on at

    @leyburn19 thanks for the info, but i guess am missing something...

     

    Get items  - List A - ok

    Apply to Each - ok

    Get Items List Person in list B equals person in List A - do you mean to use filter query and compare the two lists between each other? if so it should return me only those results from list B, that match list A, which is not what i need, i need those who are in B, but not in A

    Compose - Count of Result

    Condition if result = 0

    Yes = Send email to person found in List B

     

     

    what i did so far: 

     

    Sifu_0-1602056058476.png

     

  • leyburn19 Profile Picture
    2,157 on at

    That's exactly what this does.    I assume that your list B has exact match in LIst A.  So the process takes your List BO and goes through List A.  If the List B does not match List A it will return 0 result.  

     

    The moment you do your filter in the Get Items of List B,  it will put it in an apply to each. 

     

    the output would condition would be equal 0 not null.  Also I cannot see the apply to each is based on. can you show an image of your filter please

  • Sifu Profile Picture
    834 on at

    @leyburn19 thanks for reply, still no clear how to achieve this, see screenshots below

     

    Sifu_0-1602106270810.png

    Sifu_1-1602106299513.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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard