cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
inubaranaz
Frequent Visitor

Comparing Two SharePoint Lists

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!

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

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

View solution in original post

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,201)