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 / Want a flow to grab at...
Power Automate
Answered

Want a flow to grab attachments from one list and populate another list if columns match

(0) ShareShare
ReportReport
Posted on by 4

I am working on a requisition list of orders and a second list for delivery list.  I want the delivery list to pull from multiple items in the requisition list and just pull the attachments over to the delivery list.  I have a column in the delivery list that says which requisition items are included in that delivery item.  So it may include one to 5 different requisition items and I want it to only grab the attachments of each of those requisition list items.

 

I've made a few flows, but pretty new still and I can't get this one to continually work and get errors.

derekkruzicki_0-1696540159534.pngderekkruzicki_1-1696540189106.png

derekkruzicki_2-1696540210235.png

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @derekkruzicki 

     

    Could you pls confirm the columns in two lists that makes up the mapping? I mean column 'Req number' belongs to list "Packing list" or "Requisition".

     

    Thanks

  • Verified answer
    v-mengmli-msft Profile Picture
    on at

    Hi @derekkruzicki ,

     

    Is the 'Req Number' column a lookup column for the ID column? I recommend that you create two flows to increase the speed of the flow, and the first flow runs only once, getting attachments to tables that are not currently modified. The second flow is triggered when the SP's item is modified, and only the currently modified Item is updated.

    My test:

    "test0927" is equal to delivery list which has a look up column.

    "test08188" is equal to requisition list which has attachment.

    The first flow: Get items connects to delivery list which has a look up column.

    Get items 2 connects to requisition list.

    1)

    vmengmlimsft_2-1696560261729.png

     

    2)The value is about the Get items 2.

    "lokupID" is the look up column in "test0927".

    vmengmlimsft_1-1696560218734.png

     

    3)

    vmengmlimsft_3-1696560329723.png

     

    The second flow:

    1)

    vmengmlimsft_4-1696561033177.png

     

    2)

    vmengmlimsft_5-1696561089884.png

     

    Hope this helps you!

    -----------------------------------------------------------------------------------------------------------------------------------

    If my answer solves your problem, please accept it as a solution to help more people stuck on the same problem find it.

     

    Best regards,

    Rimmon Li

  • derekkruzicki Profile Picture
    4 on at

    Rimmon, Thanks for helping.  I'm pretty new to everything; I can't find that lookup column in the get attachments step on the first flow.  See below.  I am trying to recreate your example.  Is there a way to get that column option to show up in my Dynamic Content?  From your original question, My Req Number is a column in Delivery list that looks up the ID column on Requisition List and can have multiple Requisition List IDs in it like a one to many relationship.  

     

    derekkruzicki_0-1696595745225.png

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @derekkruzicki ,

     

    Please use the 'Search dynamic content':

    vmengmlimsft_0-1696846165647.png

     

    Best regards,

    Rimmon Li

  • derekkruzicki Profile Picture
    4 on at

    If found the dynamic content to add that.  After adding it, i run into issues in creating this flow when i put in "get attachment content, Flow want to add another loop and then this doesn't match your example and doesn't work.  See below:

    derekkruzicki_2-1696854985228.png

     

    Since I was struggling with the above, I thought I would just keep it similar and start with just running it at the point of just get the attachment.  

    derekkruzicki_1-1696854857682.png

     

    - I get a 400 error:

    derekkruzicki_0-1696854781052.png

     

    Do you have any other thoughts on how to get this going?

    Thanks!

     

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @derekkruzicki ,

     

    Please try to delete the 'Current item' in Apply to each 2 and update the following expression:

    items('Apply_to_each_6')?['LookUpColumnName']

    vmengmlimsft_0-1696917593152.png

     

     

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard