Forum Discussion

markikav1955's avatar
markikav1955
Brass Contributor
Oct 19, 2021

Copy some columns values from List A to List B based on another columns value

Hi Community 

I need to pull some contact details (Name, Phone, Email) from SharePoint List A (which contains approx 2K records) into List B.

List B is then used as a "tracker" to validate the contacts are still most up to date.

 

I have a Customer Ref number column  which is unique to each Customer and exists in both lists so assume that can be used to ensure my case created in List B pulls the correct contacts from List A, but I'm unsure how to implement? 

 

I've tried this in InfoPath which I find easier but I hit limit restrictions when it tries to run the query, probably because list A is quite large and the admins have some limit set.

 

So my questions are how best to implement this in Power Automate?

I just want it to run once when the "case" is created in List B they will enter some values and the Customer Ref, then in the background it should just run and populate the contact details so users don't have to look them up and enter them.

 

Thanks!

8 Replies

  • Hello markikav1955,

     

    For all new items created in List A, you could create a simple Flow that would copy the required values to List B using the When a new item is created trigger.

     

    For multiple records with conditions in List A, you could create a Scheduled Flow with the SharePoint Get items action.

     

    Let me know if you need help with any of this.

     

    Norm

    • markikav1955's avatar
      markikav1955
      Brass Contributor
      Hi Norm

      Yes help would be good as I assume I need to use an expression somewhere to state where Customer Ref in A = Customer Ref in B , so I pull in the correct contacts?
      Or is it done differently?

      Thanks!
      Mark
      • stormin_30's avatar
        stormin_30
        MVP
        Hi Mark,

        I need to understand the requirements further. Are you trying to copy the contact details from list A to list B if they don't exist in B?

        Norm

Resources