Closed
Tracking of Case Attachment size
Attachments added to the pega case should be stored in PEGA_DATA.PC_DATA_WORKATTACH table, is there a way to track the attachment size with each of the case?
Attachments added to the pega case should be stored in PEGA_DATA.PC_DATA_WORKATTACH table, is there a way to track the attachment size with each of the case?
Hi Gagan,
There's no property in Data-Attach-File to track attachment size. Hence ,no exposed column in the PC_DATA_WORKATTACH that you can use
If you wanted some broad indication of whether an attachment was big or small, you could write connect-sql to use the native dbms/oracle function to look at length of pzpvstream. It won't tell you the attachment size but will give you some idea -- though keep in mind that we take attachments, base64 encode them to text, then zip our java object to create the pzpvstream column.
The below links may also help you:
https://pdn.pega.com/forums/prpc/performance/check-attachment-file-size-before-attempting-to-upload
Hi Gagan,
There's no property in Data-Attach-File to track attachment size. Hence ,no exposed column in the PC_DATA_WORKATTACH that you can use
If you wanted some broad indication of whether an attachment was big or small, you could write connect-sql to use the native dbms/oracle function to look at length of pzpvstream. It won't tell you the attachment size but will give you some idea -- though keep in mind that we take attachments, base64 encode them to text, then zip our java object to create the pzpvstream column.
The below links may also help you:
https://pdn.pega.com/forums/prpc/performance/check-attachment-file-size-before-attempting-to-upload
https://pdn.pega.com/forums/prpc/java-activities/get-the-size-of-a-file-on-the-client-side
Thanks,
Gisela
Question Solved
Discussion
Question
Question
Question
Question
Question
Question
Question
Question Solved
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.