salesforce-composite-envelo.../composite-envelope-builder/force-app/main/default/classes
Paul Huliganga 40798dfe63 feat(sms): draft envelope + Docusign Sender View for recipients without email
When the primary recipient (Docusign Recipient #1) has no email address, the
envelope is created in draft status and the sender completes delivery manually
in the Docusign Sender View web console where they can configure SMS delivery.

Apex changes:
- DocusignCompositeEnvelopeBuilder: new DRAFT_PLACEHOLDER_EMAIL constant; when
  requiresDraftMode=true calls sendEnvelope(envelope, false) to create a draft,
  then builds and returns a Sender View URL via buildSenderViewUrl(); buildRecipient
  accepts allowPlaceholderEmail flag and substitutes placeholder when email is blank
- DocusignEnvelopeRequest: new requiresDraftMode Boolean InvocableVariable
- DocusignEnvelopeResult: new senderViewUrl String InvocableVariable

Flow (V3) changes:
- Get_Records now fetches Docusign_Recipient_1__c
- New Get_Recipient_Contact lookup queries Contact.Email and Name
- New Is_Recipient_Email_Blank decision routes to Set_Draft_Mode when blank
- New Set_Draft_Mode assignment sets requiresDraftMode=true
- New No_Email_Warning_Screen explains the draft process and required steps
- requiresDraftMode passed as input; senderViewUrl captured as output
- New Is_Draft_Envelope decision routes to Sender_View_Screen or Success_Screen
- New Sender_View_Screen shows clickable link, placeholder email, and step-by-step
  instructions for configuring SMS delivery in the Docusign web console
2026-03-13 00:08:59 -04:00
..
DocusignCompositeEnvelopeBuilder.cls feat(sms): draft envelope + Docusign Sender View for recipients without email 2026-03-13 00:08:59 -04:00
DocusignCompositeEnvelopeBuilder.cls-meta.xml Initial commit: Salesforce Composite Envelope Builder 2026-02-25 09:22:29 -05:00
DocusignCompositeEnvelopeBuilder.cls.backup Sort templates alphabetically by Short_Name__c in email subject and document order 2026-03-03 23:12:06 -05:00
DocusignCompositeEnvelopeBuilderTest.cls Fix email subject truncation to 100 chars 2026-03-03 18:55:18 -05:00
DocusignCompositeEnvelopeBuilderTest.cls-meta.xml Initial commit: Salesforce Composite Envelope Builder 2026-02-25 09:22:29 -05:00
DocusignEnvelopeRequest.cls feat(sms): draft envelope + Docusign Sender View for recipients without email 2026-03-13 00:08:59 -04:00
DocusignEnvelopeRequest.cls-meta.xml refactor: extract Request and Result as standalone global classes 2026-02-25 10:05:36 -05:00
DocusignEnvelopeRequestHandler.cls refactor: switch to dfsle Apex Toolkit - remove raw API code 2026-02-25 11:29:38 -05:00
DocusignEnvelopeRequestHandler.cls-meta.xml refactor: extract request handling to global DocusignEnvelopeRequestHandler class + deployment guide 2026-02-25 09:32:55 -05:00
DocusignEnvelopeRequestHandlerTest.cls refactor: switch to dfsle Apex Toolkit - remove raw API code 2026-02-25 11:29:38 -05:00
DocusignEnvelopeRequestHandlerTest.cls-meta.xml refactor: extract request handling to global DocusignEnvelopeRequestHandler class + deployment guide 2026-02-25 09:32:55 -05:00
DocusignEnvelopeResult.cls feat(sms): draft envelope + Docusign Sender View for recipients without email 2026-03-13 00:08:59 -04:00
DocusignEnvelopeResult.cls-meta.xml refactor: extract Request and Result as standalone global classes 2026-02-25 10:05:36 -05:00