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 / Flow to check if share...
Power Automate
Unanswered

Flow to check if sharepoint item entry exists in another sharepoint list

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I'm building a "check in" tool.

 

  • List A is populated with the data from our engineers, this comes from a MS Form
  • List B contains all of our locations that engineers can check into

I'm looking to build a daily occurrence flow that will look at the location reported and added into List A, then compare against List B to inform of which locations did not receive a check in. The results should be populated into CSV and emailed out.

 

Can anyone help with this?

 

Thanks,

 

Tom

Categories:
I have the same question (0)
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @Anonymous 

    Please follow the below steps and try if it solves your problem

    1. Get the items from the locations list

    locations.png

     2. Once you received all the master locations. Initialize an array variable to store the locations not checked in.

    locations array.png

     3. Iterate through all the locations from the master and check whether the items are there in List A. Check the length of the items, if it is less than or equal to 0 then you can add that location to the array variable declared above and using that array variable you can send the list in an email.

    iterate locations.png

     yes branch.png

     

    4. Make sure you use the correct filter query by accessing the lookup field.

    5. After the 'Apply to each' action, you can get the final array of locations that are not checked in.

     

    Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
    -Sudharsan K...

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Could you please post a screenshot of your Sharepoint lists A & B? Also the relevant column data types and some data as well.

     

    Thanks

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    @Anonymous  just the last part you can't do, becouse you need to create a table to populate data, so you can't use csv

  • Community Power Platform Member Profile Picture
    on at

    Hi abm,

     

    Lists are below...

     

    List A: Location = Single Line of Text

    List A - Data populated from MS Forms

     

    ListA.PNG

     

     

     

     

     

     

     

    List B: Site = Single Line of Text

    List B: Static Data, only changed when sites are opened / decommissioned.

    ListB.PNG

     

     

     

     

     

     

     

    What i would like to achieve is when the daily flow runs, it gets the Sites from List B and then reviews the submissions on that day in List A, looking in the Location column for a match, the output into a CSV table would look like:

     

    LocationChecked_InDate
    Loc1NoMM-DD-YYYY
    Loc2YesMM-DD-YYYY

     

    I can do the next bits of sending an email with the CSV file attached (the easy bit :))

     

    Thanks,

     

    Tom

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