Question
Cognizant
ES
Last activity: 29 Jan 2020 9:55 EST
Unable to download file from Pega
I´m using Pega 7.2.2 and I´m trying to download a file from Pega´s file system through activity. I´m able to browse the directory and download the file using OOTB function @Default.downloadFile( filepath, tools, true) but when I open the file it is empty. (0 bytes)
I´ve checked the OOTB activity DownloadFile and it uses the same approach with java step, but the activity is fixed to pick files from Pega service export path ("file://web:/StaticContent/global/ServiceExport/").
Any suggestions? Is this a bug on the Platform?