
Announcements
I am using Planner for a request fulfillment flow for my department.
Once a Task has been created, any attachments added to that task are dumped into the main Sharepoint documents folder.
To maintain organization of files, I attempted to create a flow that runs daily and moves files from the main location to subfolders according to names of the files. This runs successfully.
However, I have learned that the link on the actual Task for the attachment does not update to the new file location in Sharepoint once it has been moved and will return a "file not found" if you try to open the attachment from the task.
I have tried to research how to update Attachment links on Tasks, but have had no luck. I know how to get the new link for the file based on the file name, but am unable to figure out how to update the link for the attachment on the Task.
I have come to think that the only way is by using "Send HTTP Request" action to PATCH, but I am very unfamiliar with how this coding works.
If there is another way to update Task Attachment links, please let me know. Or help me construct the HTTP Request Patch to rewrite the attachment links.
Thanks