Hi
I have built a flow which moves a Sharepoint list item from A to list B based on a status change, this includes attachments
However only one attachment is being moved over, how can I ensure multiple attachments are moved over?
Solved! Go to Solution.
Hey @MoEdu
This attachments to a list item are in the form of an array. So you need to first get all the attachments array and then apply to each attachment, get content and create a new one for the new list item. Something as shown in the screenshot below.
Get attachments from primary list, apply to each on those and then get attachment content from the primary list and then create a new one on the new list.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hey @MoEdu
This attachments to a list item are in the form of an array. So you need to first get all the attachments array and then apply to each attachment, get content and create a new one for the new list item. Something as shown in the screenshot below.
Get attachments from primary list, apply to each on those and then get attachment content from the primary list and then create a new one on the new list.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Great thanks!
I have got it working as follows
IF Yes
- Get attachments
- Create item
Apply to each
- Get attachment content
- Add attachment
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.