web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Comparing Two SharePoi...
Power Automate
Unanswered

Comparing Two SharePoint Lists

(0) ShareShare
ReportReport
Posted on by 16

Hello,

 

I need help creating a conditional statement for a flow to send a notice (email) after filtering on IDs from two different SharePoint lists. 

 

If IDs from List A exist anywhere in List B then the flow needs to stop running. If items from List A do not exist in List B then the flow should trigger an email notice and update a field in List A (All Reviews Complete).

 

List A Example Output for IDs: 2, 5, 8, 10

- each instance is unique

List B Example Output for IDs: 2, 2, 7, 7, 7, 6, 10, 10

 

Expected Results:

- ID # 2 and 10 would not run because they do exist in List B

- ID #5 and 8 would continue to run and successfully trigger the email 

 

Would appreciate any helpful insight on how to create this flow!

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Comparing Two SharePoint Online Lists to Trigger Actions

    Hi @inubaranaz :

    Do you want to send mail only for items with id 5 and 8?

    If so,please try this flow:

    2.JPG3.JPGThe Result:

    1.JPG

    Best Regards,

    Bof

  • inubaranaz Profile Picture
    16 on at
    Re: Comparing Two SharePoint Online Lists to Trigger Actions

    Thank you for this - it ran exactly was wanted. However question for you, why the need for the last boolean?

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard