I have created a Microsoft Forms with Upload File attachment and then added the actions of "When a new response is submitted" -> "Get response details"-> "Parse JASON" -> "Get File content using path" -> "Send and email" to include the attachment or as a link in an email. However, I found that if there is no attachment in the Forms, the flow would be failed.
Can I have some advices on how to fix this issue? Is there a condition action that I have to add? Thanks.
Solved! Go to Solution.
hi @Positano1 could you please send an screanshot from your get response details output? Please see if in the section ParseJson you have a propertie call Link.
I just modified the flow a little bit as a I want to have the attachment link in the "Create a Work Item" which is to create a work item in DevOps.
Here is the screen shot:
oh @Positano1 you are getting a null value in content propertie. Please flow this example to allow null values.
@Positano1 could you try by leaving the value empty
@ChristianAbataBtw, do you have any idea to attach an attachment to DevOps ? I'm actually creating a feature in DevOps once the form is submitted with attachment. However, the work item can be created in DevOps but no attachment.
Now I only put the attachment as a link in the Description box in the work item as a alternative solution.
Thanks so much for your advice.
mm @Positano1 we need the link becouse as you have, you need to upload the image to get the content file and then adding as attachment.
Please try by following this example.
@ChristianAbataAppreciate your flow guidance. Since I only have one field "Attachments" in the form, can you advise if my flow setting is correct?
And using the schema with empty content
yes @Positano1 but if you want to use the value in compose into get file content (One Drive) you need to drag the action inside apply to each is the same for devops action.
@ChristianAbataJust tried, if I don't have any attachment in the form, the flow failed. Did I miss anything in the flow setting?
Hi @Positano1 ,
Please check the same thread and see if it helps:
@ChristianAbata @Positano1 I have similar requirement to create an attachment in ADO when Microsoft Form is submitted. I guess there is no direct attachment option available. Is there any way we could do this. I tried using "Send an HTTP request to Azure Devops" but is throwing an error.I believe the parameters what is provided is wrong. Could you please help me getting the correct logic for attachment.
This is a project requirement and need some quick assistance. Appreciate your support. Thanks in advance.
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.