Support Article
Pega Obj-Save method issue
SA-86342
Summary
When using Obj-Save method to save a PDF stream to the respective database table, before the PDF stream is saved to the table, the PDF stream is removed from the page (by this pzSaveToRepository rule and Pega build is used in functionalities for Obj-Save). Hence, unable to attach the PDF to the case.
Rule: pzSaveToRepository:
Step 13: Property-Remove
Removing pyAttachStream before Commit
Error Messages
Not Applicable
Steps to Reproduce
Not Applicable
Root Cause
The 'Store to Repository' was selected in the application definition in the Integration and Security tab. Therefore, the pzSaveToRepository activity was invoked and it stored the file to the repository and deleted pyAttachStream.
Resolution
Perform the following local-change,
- In the Application definition, click the Integration and Security tab.
- Click Content Storage.
- Select Store in Pega database.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.