I have been racking my brain with this for days/weeks, I have tried so many tutorials, and guides but nothing seems to work.
I have a form, set up for end user to submit a ticket for help (help desk IT ticket). They have to complete questions, give information, etc. and one of the questions is if they have an image or screenshot to share to upload it to the form (using the upload file option on MS Forms).
Well, this is where I am stuck. I do not care if the upload is attached to the email or just a link to view it. What I am running into issues with is when there is nothing attached, it errors out. I have tried various conditions, and nothing seems to work.
Essentially, what I am trying to do is as follows:
Completed form + attachment = emails out
Completed form + no attachment = emails out
Any guidance or help would be appreciated... Like I said, I can get everything to work perfectly IF there is an something uploaded, where it errors out is when there is nothing uploaded.
Thank you in advance!
Solved! Go to Solution.
Oh my, how did I not think of that... Thank you!
However, I am still having and issue when there is an upload. It fails on the Yes condition. There are files uploaded, however its saying that it cannot be null or empty, when obviously that is not the case. I did upload 3 files (2 jpg, and 1 pdf)
Pictures of my entire flow:
So right now, its stuck on the yes condition, saying there is nothing uploaded, when in fact there is. The send email is reporting that "Parameter 'Attachment Content' cannot be null or empty. clientRequestId: bac4a595-9f8f-412b-b6d2-33374012e713"
Please review the video tutorial below-
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!
From the run where it errors out can you show me what one of the append to variable results looks like?
I followed this to a T, exactly the same... and no matter what, the attachment is corrupt.
I attach a PDF or jpg, doesn't matter. It flows fine, and emails fine. But the attachments in the email are corrupted, and cannot be opened. Ever single one of them
Oh sweetness..... I got it working. Looks like I had some extra " " in the Append to aray variable.
Both uploads and no-uploads are working now.
Thank you all for your help with this, I cannot express my appreciation enough!
Wohoo.. I am glad that the problem is resolved.
Please mark the relevant answers as solutions, so that it might help other people who have a similar problem.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
The Super User program for 2022- Season 2 has kicked off!