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.
Solved! Go to Solution.
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:
Hope this helps.
Best Regards,
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
Proud to be a Flownaut!
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
Proud to be a Flownaut!
This is the error I'm getting, it is still not creating the task or putting the link in it.
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!
Proud to be a Flownaut!
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:
Hope this helps.
Best Regards,