Symptom
While generating a document with digital signature enabled and getting the error "An error occurred while sending the document to DocuSign".
Environment
SAP SuccessFactors Employee Central - Document Generation
Reproducing the Issue
- Go to Document generation- Generate document.
- Select corresponding Template.
- Select allow digital signature as Yes.
- Select user.
- Click Generate and Email.
- Error occurred: "An error occurred while sending the document to DocuSign".
Cause
Maximum length exceeded for documents field emailBody in DocuSignEnvelopeRecipient MDF entity.
Resolution
- Go to Object Definition > Select DocuSignEnvelopeRecipient.
- Go to field: emailBody >update max length from 255 to up to 4000.
- Then try to generate the Document and check.
The maximum length limit permitted by the system is 4,000.
Keywords
DocuSignEnvelopeRecipient, Docusign, An error occurred while sending the document to DocuSign, Document generation, emailbody, maxlength, DOCUSIGN_DOCGEN, documents, EMPLOYEE_HRIS_GO_FIELD_MAX_LENGTH_EXCEEDS_LIMIT, 255, digital signature , KBA , LOD-SF-EC-DOC , Document Generation , Problem
SAP Knowledge Base Article - Public