feat: prefix envelope subject with 'Docusign: '
This commit is contained in:
parent
06e2a14de5
commit
a3ebafe506
|
|
@ -225,7 +225,8 @@ global with sharing class DocusignCompositeEnvelopeBuilder {
|
|||
bodyIdsAdded.add(templateId);
|
||||
}
|
||||
}
|
||||
String envelopeSubject = combinedName;
|
||||
// Prefix the envelope subject so recipients see the source immediately
|
||||
String envelopeSubject = 'Docusign: ' + combinedName;
|
||||
// Truncate subject to 100 characters maximum as required by Docusign
|
||||
if (envelopeSubject.length() > 100) {
|
||||
envelopeSubject = envelopeSubject.left(97) + '...';
|
||||
|
|
|
|||
Loading…
Reference in New Issue