cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmej
Helper I
Helper I

Line in task description checking if there's a file uploaded

Hi 

 

I have a set up that everytime a form gets a response, creates a task in planner. This task is then updated with the responses from the forms question. 

 

I have several flows setup with this as I have several forms.

But in my latest form I have a 'Upload file' as well, my wish is that there's a link to the uploaded file if there's one uploaded in the response. I have tested with just calling the response on the upload section, but that of course doesn't work. 

 

Is it even possible? if not, how can I set it up to just say yes or no on whether it has a file attached. 

3 ACCEPTED SOLUTIONS

Accepted Solutions
ChristianAbata
Super User II
Super User II

hi @mmej  what you can do is use Parse Json action to get the link of your file and then you can send that link to your task.

 

You cna follow my example to see how can you manage file output responses 

 

getformsImage.gif

 

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

v-bacao-msft
Community Support
Community Support

 

Hi @mmej ,

 

Please check this video to get the files uploaded in the submission.

https://www.youtube.com/watch?v=Foy8i6jPZrg

 

If you want to get the attachments uploaded in different questions, you can add parallel branches to handle the attachments contained in these questions separately.

 

In addition, if you want to check whether any attachment is uploaded, you can refer to the following method:

33.PNG

Please take a try and feel free to let us know if you have any other questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

v-bacao-msft
Community Support
Community Support

 

Hi @mmej ,

 

Maybe you could try the following method:

43.PNG44.PNG

Check this video to get the file from the response:

https://www.youtube.com/watch?v=Foy8i6jPZrg

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
ChristianAbata
Super User II
Super User II

hi @mmej  what you can do is use Parse Json action to get the link of your file and then you can send that link to your task.

 

You cna follow my example to see how can you manage file output responses 

 

getformsImage.gif

 

 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Thank you for the quick answer

 

Just one question, will that work for ALL files that is uploaded in the form? or should I instead call the action that you copy in? 

@mmej  I recommend you to use just one upload field, but if you have more that one yes, you need to manage one by one in diferents parse json actions



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-bacao-msft
Community Support
Community Support

 

Hi @mmej ,

 

Please check this video to get the files uploaded in the submission.

https://www.youtube.com/watch?v=Foy8i6jPZrg

 

If you want to get the attachments uploaded in different questions, you can add parallel branches to handle the attachments contained in these questions separately.

 

In addition, if you want to check whether any attachment is uploaded, you can refer to the following method:

33.PNG

Please take a try and feel free to let us know if you have any other questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

@ChristianAbata I think you misunderstood, I do only have one place to upload, just wondering if the action you suggested, will work on any file that is uploaded to the question, or if I instead should call upon the action from which you copy the input, to make it work with all files that is uploaded in the question. 

Hi @ChristianAbata 

Okay, so I looked at the gif a couple of times, and got it to output a composed link inside the Apply to each. 

 

Next problem is that I need to create a task outside of the Apply to each, that creates a task, so that in case there's more than one file attached, it won't create two tasks. 

@mmej  excellent, to use content outside apply to each you need to use variables. See first you need to create an empty variable and then when you start apply to each you can add to that variable the content of apply to each see an example.

 

I hope the first question was successfully solved 😉 Consider to give a like or mak as firt response 😉

 

apend1.PNGapend2.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-bacao-msft
Community Support
Community Support

 

Hi @mmej ,

 

Maybe you could try the following method:

43.PNG44.PNG

Check this video to get the file from the response:

https://www.youtube.com/watch?v=Foy8i6jPZrg

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (32,589)