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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,547)