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 / Copy attachments from ...
Power Automate
Unanswered

Copy attachments from SP List2 to SP List1

(0) ShareShare
ReportReport
Posted on by 112

Hi

 

  1. I am having two lists : SP List 1 & SP List 2
  2. SP List 2 will have the attachments with the SP List 1 ID(ID in SP List1 will act as Foreign Key).
  3. In SP List2 , each item will have only one attachment(so duplicate attachments will be there with same SP List 1 ID)
  4. From the power apps, I will send the SP List 1 ID as the trigger to the flow. 

Sathya2_3-1642171256976.png

Here both the items under the Form ID 4 are having same attachments.

We all know that attachments column will not save duplicate files even though we upload n number of same files in attachment data card.

Sathya2_0-1642416916407.png

Sathya2_1-1642416978936.png

Sathya2_2-1642417100378.png

 If the list 2 contains distinct files, the flow is working fine.

 If the list 2 contains any duplicates , distinct files are copied to list 1(operation is done) but the flow fails.

 

Please help me on this.

 

 

 

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Copy attachments from SP List2 to SP List1

    Hi @Sathya2 

     

    Could you please explain bit more about what error are you getting?

     

    Thanks

  • Sathya2 Profile Picture
    112 on at
    Re: Copy attachments from SP List2 to SP List1

    Hi, Thanks for your reply,

     

    1. I am moving the attachment from List 2 to List 1,
    2. If the attachment already exist in List 1,the loop is getting failed.
    3. I need to add a condition control before add attachment action.
  • abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Copy attachments from SP List2 to SP List1

    Thanks for your reply. Whats the error you getting?

  • Sathya2 Profile Picture
    112 on at
    Re: Copy attachments from SP List2 to SP List1

    Sathya2_0-1642515389619.png

     

  • Suggested answer
    Enthu Profile Picture
    4 on at
    Copy attachments from SP List2 to SP List1
    Hi Team, I need your help
    I have two SharePoint list with same item around 900 time in both SharePoint now I want to copy only attachment from list1 to list2 for each project Id  because  Project Id is a unique identifier between both list
    Please assist with any sample flow for power automate and manual trigger flow

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard