Hi all,
I am building a flow that takes an attachment from a SharePoint List and moves it into a Document Library along with the metadata input in the List form. I have gotten the flow to work with small files, but any time I try to attach a larger file (>1MB) the flow finishes (successfully) without moving the file into my document library. It appears that the "body" is registering as empty, and so the flow finishes thinking there is nothing to be moved. See below.
If I then go back into the flow editor and resubmit the flow, the file is successfully moved over to the Document Library. See below.
Does anyone know how I can resolve this? As mentioned, this flow works fine when the file is approximately under 1MB.
Thanks!
Solved! Go to Solution.
Delaying the flow for a couple of minutes after adding the list item seems to be a good solution.
Props to @andrew_blubase for posting here.
Hi @samstarzy,
I have made a test and the issue is confirmed on my side. When the attachment file is more than 1 MB, the Attachment Body of the "Get attachments" action of my flow would return empty. When I resubmit the flow, the flow works successfully as normal.
Thanks for your feedback, I think your thought is available. You could add a "Delay" action within your flow to solve your problem as an alternative solution.
I have made a test on my side and my flow's configuration as below:
The flow works successfully as below:
I would also post this issue to my product team, if this issue is solved, I would reply here.
If you have solved your problem, please click "Accept as Solution" so that this thread will be marked for other users to easily identify!
Best regards,
Kris
Delaying the flow for a couple of minutes after adding the list item seems to be a good solution.
Props to @andrew_blubase for posting here.
Hi @samstarzy,
I have made a test and the issue is confirmed on my side. When the attachment file is more than 1 MB, the Attachment Body of the "Get attachments" action of my flow would return empty. When I resubmit the flow, the flow works successfully as normal.
Thanks for your feedback, I think your thought is available. You could add a "Delay" action within your flow to solve your problem as an alternative solution.
I have made a test on my side and my flow's configuration as below:
The flow works successfully as below:
I would also post this issue to my product team, if this issue is solved, I would reply here.
If you have solved your problem, please click "Accept as Solution" so that this thread will be marked for other users to easily identify!
Best regards,
Kris
Hello @samstarzy
You mentioned in your post you were able to move the Metadata also, this was something that I struggled with.
Are you able to send me screen shots of how to managed to get the Metadata to move with the document, as the workflow works really well, just did not move my Metadata.
Thank you
Claire
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
29 | |
27 | |
23 | |
17 | |
10 |
User | Count |
---|---|
66 | |
58 | |
29 | |
27 | |
25 |