I have a web server that is hosting some files. Path examples:
https://myserver/files/file1.png
https://myserver/files/file2.docx
https://myserver/files/file3.xlsx
I would like Workflow to download these files and import them into the repository. I played around with it some, but couldn't get it to work very well.
I have an HTTP GET activity pointing to each of the file locations.
Then I create a blank document and use the Attach Electronic Document activity with these settings:
So far so good. This is where it goes sideways though. Instead of the proper file type (png, docx, etc.), Workflow attaches a .response file to the entry:
This is what the token view shows for the instance:
Obviously, double-clicking the file fails to open it with the corresponding application, since ".response" is not a valid extension.
I can see from the file size that it's the correct file, and I can actually open it if I pick the application manually on the "Open with" dialogue box that pops up. The extension is just incorrect, so double-clicking it form the Client doesn't open it automatically. Do I need to process it further using a script?