How to download multiple attachments as a zip file (Solved)
I have referenced the post https://support.pega.com/question/how-create-zip-archive-and-attach-case and created reusable functions to compress multiple files into a zip archive and download.
The function CreateZipFile takes pagelist, zip entry name property, zip entry contents property and generates zip byte array.
Another function downloadFile take bytearrary object and zip file name to download the file. Please see the attached document for the implementation.