cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
asderame
New Member

Form to processing email & list flow- issue with attachment

Hi all,

 

I have created a flow where people can submit a form which then will create an item in a sharepoint list and an email notification for someone to review.

 

The form contains an optional attachment upload but the flow seem to only accept mandatory attachment. I do not want it to be mandatory but i need the flow to work.

 

Any ideas? See below error message.

Thanks

AS

 

asderame_1-1663667359695.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-chengfen-msft
Microsoft
Microsoft

Hi @asderame ,

The reason why you met this problem is that:
1. If the file is not uploaded in the form, in the output of [Get Response Details],  attachment upload‘s content  is empty.
2. If the attachment upload‘s content is empty, [Add Attachment] will fail

 

Maybe you could try:

vchengfenmsft_0-1663750466227.png

 

vchengfenmsft_1-1663750466243.png

 

vchengfenmsft_2-1663750466251.png

 

Here is a link for your reference:

https://manueltgomes.com/microsoft/powerautomate/form-upload-to-sharepoint-list-item-attachments/

 

Best Regards

Cheng Feng

View solution in original post

2 REPLIES 2
v-chengfen-msft
Microsoft
Microsoft

Hi @asderame ,

The reason why you met this problem is that:
1. If the file is not uploaded in the form, in the output of [Get Response Details],  attachment upload‘s content  is empty.
2. If the attachment upload‘s content is empty, [Add Attachment] will fail

 

Maybe you could try:

vchengfenmsft_0-1663750466227.png

 

vchengfenmsft_1-1663750466243.png

 

vchengfenmsft_2-1663750466251.png

 

Here is a link for your reference:

https://manueltgomes.com/microsoft/powerautomate/form-upload-to-sharepoint-list-item-attachments/

 

Best Regards

Cheng Feng

asderame
New Member

thank you for that info, I will try.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,043)