Hi,
I have an app with a 'thread' entity. I need to be able to add attachments to each thread both from within the app and from flow (via an incoming email)
I'm using the attachments control in the app and this works well and I've also managed to upload via flow (by uploading to the notes entity and associating it with the correct thread record)
The issue is when it comes to uploading the same file multiple times. (There will be many times where the same file needs to be uploaded again or to a multiple threads). When using the attachments control in the app this works fine, it lets you add the same file multiple times. When using a flow to upload the file, the upload succeeds and shows in the app but when you try and download the file it gives an error of 'Couldn't download the file'. This happens when uploading the file to the same thread or even to a different thread record.
I've had a look at the 'note' entity in CDS, the files I uploaded via flow are exactly the same as those uploaded by the app so don't understand whats happening here.
Thanks in advance
Sam