cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User III
Super User III

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

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

Highlighted
Community Support
Community Support

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

 

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

Highlighted
Community Support
Community Support

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

 

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
Highlighted
Super User III
Super User III

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

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

Highlighted
Helper I
Helper I

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

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? 

Highlighted
Super User III
Super User III

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

@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
Highlighted
Community Support
Community Support

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

 

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

Highlighted
Helper I
Helper I

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

@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. 

Highlighted
Helper I
Helper I

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

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. 

Highlighted
Super User III
Super User III

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

@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
Highlighted
Community Support
Community Support

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

 

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,486)