I am passing multiple document to Add Documents to ZIP smart service and it successfully creating zip of it. But, When i Unzip the folder the extension of the files are getting lost. Hence I am not able to recover the format of the file.Can you suggest the solution?
Discussion posts and replies are publicly visible
When adding documents to the zip file within Appian, you must list the full file names with extension (i.e. "file.docx", not just "file"). If you don't include the extensions in the list of document names, they will be inserted into the zip file without an extension. Basically, Appian only pays attention to the filename passed in, and takes no notice of what the original document name was.
I tried this solution but the problem i am facing is where and how do i update file name with extension because zip smart service required document.
It also requires "document name" (I forget the exact phrasing it uses, it's not in front of me at the moment) - can you paste here what you have configured for that at the moment?
Edited to add: the field I was thinking of is "Document Paths", which as the hover text notes, requires both the path (the internal path within the ZIP file) as well as the full document name, for each document passed in in the documents array. If all files are expected to be in the root directory of the zip file that's fine, but each file still needs its extension declared specifically.