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

DocuSign integration signed document is empty in Pega case

SA-75972

Summary



The DocuSign integration is configured on the Pega application. When opening a signed document which is attached to a work object by the DocuSign REST service, the document is an empty 0 KB file.


Error Messages



Failed to load PDF document


Steps to Reproduce

  1. Customize the below data transforms according to the application's Clipboard page structure: 

    pySetEnvelopeCredentials
    pyPrepareNewEnvelope
    pyAssignRecipientsToEnvelope

     
  2. Create a work object.
  3. Open the email, sign the document, and submit it.
  4. Open the work object. The signed document must already be attached with the work object.
  5. Open the signed document. The document is empty and the Certificate of Completion document is also empty.


Root Cause



User was using Pega Cloud. The PegaRULES application by default was configured to use the pegacloudfilestorage repository to save attachments since it was a Cloud instance. The user built the application on the PegaRULES application and configured DocuSign on it. The DocuSignIntegration.pyConnect REST Service was not configured with the custom authentication, hence, it used the PegaRULES application default authentication. As a result, the attachments were attached to the pegacloudfilestorage repository instead of the custom application content storage, that is, Pega default database.


Resolution



Perform the following local-change such that attachments are stored in the Pega default database instead of pegacloudfilestorage repository:

Configure the custom authentication for the DocuSignIntegration.pyConnect REST service to use the custom application authentication.

Published August 15, 2019 - Updated December 2, 2021

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

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