cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Create a task in planner and add attachment from Forms

I want to set up a flow that once a form is submitted it creates a task in planner with the attachment from the form. This is what I have so far but I keep getting an error. 

 

image.pngimage.pngimage.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

I assume that the form you mentioned is a personal form, you could refer to the following method to add the file link to the planner task.

Image reference:

63.PNG64.PNG

Hope this helps.

 

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

6 REPLIES 6
efialttes
Super User
Super User

Hi!

The problem is, current 'Update task details' does not support to attach files, but to add an hyperlink to the file.

"References resource link 1" is the Hyperlink URL; should be a link to the attachment that is currently stored in Sharepoint.

"Recerences Alias 1" is to be the Hyperlink text to be displayed

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Anonymous
Not applicable

Thank you, I have changed it. When I do my flow I get the email that my documents have been uploaded to sharepoint but it does not create the task and put the attachment in the task. I receive an email that my flow has failed.

Hi!

So, first suggestion succeeded, right? This means we have one less problem to reach a happy ending!!!!

 

Now, let's discuss this new issue. My suggestion is... remove temporarily the 'Assignerd user ids' current value in 'Create task' action block (leave this input empty), reexecute the flow, and see if the task is created with the hyperlink.

Of the flow fails again, please share a screenshot with the error text displayed.

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Anonymous
Not applicable

This is the error I'm getting, it is still not creating the task or putting the link in it.

image.png

Hi again!

Can you share the expression you use as input for your 'Get file content using path'?

 

first(...)

 

 

I assume you added this expression, right?

first(body('Parse_JSON'))?['name']

 

The more context info you can provide, the faster we can provide you a valid suggestion

THanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

I assume that the form you mentioned is a personal form, you could refer to the following method to add the file link to the planner task.

Image reference:

63.PNG64.PNG

Hope this helps.

 

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.

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!

Top Solution Authors
Top Kudoed Authors
Users online (1,909)