Question
Integration with DocuSign (need help initiating a template in DocuSign)
Hi there,
We have gone through extensive documentation provided by DocuSign and Pega to send documentation to DocuSign. In all the examples and screenshots, it talks about sending a PDF /document from Pega (as an attachment) to DocuSign establishing the tags, prefilling the information.
Our business requirement is to trigger a preloaded DocuSign template and populate information into that template and then trigger the signature process.
What kind of changes have to be made to the 3 data-transforms to meet this need?
prepareNewEnvelope Data Transform allows you to set a pyTemplateID which we tried but we are not sure of how to structure the data-transform in that case.
Any help initiating templates would be of great help.
***Moderator Edit: Vidyaranjan | Tagged thread as SR Exists***
Hi,
For sending a template based signing request, all you got to do is
1. have a template defined on your Docusign portal.
2. Use the templateId and Roles (If defined any on the template.. Like 'Recipient' in above screenshot) inside pyPreparetNewenvelope DataTransfrom.
You can ignore all other fields in this DT except for call to SetEnvelopeCredentials DT.
3. you should then bypass the validation activity(If the smart shape is being used for template based signing requests) that gets triggered in the flow (pxSendViaDocusign --> pxValidateEnvelope --> pyValidateEnvelope) for sending new Envelope request.
You can simply override 'pyValidateEnvelope' activity into your app RS to exit from the first step.
4. Drop the smartshape into your case and run to see desired behavior.