Dear Community,
I have created a flow that the user fill's out a form and has the option to upload files. The flow that receives the response from the form updates various lists, etc. and if an attachment is present, creates a unique folder and 'moves' the folder in there.
The flow works fine for .jpg, .pdf files, but when I tested it with .xlsx and .docx it fails with file not found.
I've traced it back to the 'Get Response Details' output, where the different examples are below:
{\"name\":\"01 45ccギアポンプ_Edward Barrington.pdf\",\"link\":\"https://xxxxxxxxxxx.sharepoint.com/sites/Engineering/Shared%20Documents/Apps/Microsoft%20Forms/Engineering%20Services%20Request%20(2)/Please%20upload%20any%20relevant%20information/01%2045cc%E3%82%AE%E3%82%A2%E3%83%9D%E3%83%B3%E3%83%97_Edward%20Barrington.pdf
{\"name\":\"CO37130-FAT-001 - Factory Acceptance Test Pro_Edward Barrington.xlsx\",\"link\":\"https://xxxxxxxxxxxxx.sharepoint.com/sites/Engineering/_layouts/15/Doc.aspx?sourcedoc=%7BC7CD48C5-B396-4C52-8220-6BAC3FCE34E5%7D&file=CO37130-FAT-001%20-%20Factory%20Acceptance%20Test%20Pro_Edward%20Barrington.xlsx&action=default&mobileredirect=true
To me it looks like the "/_layouts/15" part, but I don't know how to correct.
I've tried to test the data with 'Get files (properties only)' and the link comes back correctly for all file types, so I'm stuck in how to solve!
Can anyone help?
Many thanks