I have a requirement to parse case attachments and save them into Pega. To accomplish this, I followed these steps:
-
Opened the case attachment to retrieve attachment details from the Data-WorkAttach-File table.
-
Set the necessary parameters for pxGetAttachmentContent to obtain the file stream and filename.
-
Invoked the pxCreateFile activity to generate the file at the following location:
file://web:/StaticContent/global/ServiceExport/ -
Provided the file path and template information to the pxParseExcelFile activity to parse the file.
However, I encountered the following error:
“Parse failed for the uploaded file. Cannot find ZIP signature within 4096 bytes.”
Could someone please help me resolve this issue?