Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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,
  1. In the Application definition, click the Integration and Security tab.
  2. Click Content Storage.
  3. Select Store in Pega database.
Suggest Edit

Published December 2, 2021

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community 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.

Close Deprecation Notice
Contact us