Attachments are not sent through emails if added via Doc Req FW
Emails sent with Attachment added through Document Requirement Framework (FSIF) are sent out without attachments. Even though the email attached to the WO shows the attachment. When the same attachment is uploaded using Paper Clip icon, it is sent out fine.
When FSIF is uploading the document, it is setting the class of the attachment as Data-WorkAttach-ProcessRequirements. Also the property storing the Binary stream is called pyReqStream as opposed to pyAttachStream (for File attachment class).
Steps to Reproduce
Install PEGA document Reuqirement Framework.
Upload Documents through upload doc screen
Send an email with the specified attachment categories
Check if emails are sent through
The root cause of this problem is a defect in Pegasystems’ code/rules. Standard SendCorr agent looks for pyAttachStream and pxAttachName as the properties to get attachment data. These were not set. Hfix-22107 was created for this, but developers went for local change instead (along similar lines) as they had already customised OOTB rules.
Provided Hfix-22107. Due to customization at user end, user moved the section where attachment was created to Data-WorkAttach-File class and updating missing properties (pyAttachStream and pxAttachName).
0% found this useful