Skip to content

eSignature - DocuSign

  • Before doing the setup connection, ensure that you already have the latest eSignature installer and run the GLMSysAddOnInstaller as administrator.
  • Go to Modules > RPA > Setup > Connection > Connection.
  • Create a New Connection.
  • Fill in all the fields: Docusign
FieldDescription
SoftwareChoose DocuSign
TypeChoose OAuth as type
API URIhttps://demo.docusign.net
EndPoint NameEnter restapi
EndPoint VersionEnter v2.1
Application URI[https://demo.docusign.net]
ClientIDCopy the Integration Key provided from your DocuSign Apps & Keys settings
ClientSecretCopy the Secret Key provided from your DocuSign Apps & Keys settings
ScopeUse: signature impersonation
This scope is required during the OAuth Authorization Request
SandboxEnables the Sandbox
Use Individual AuthThis field can be left empty
RSA Private KeyCopy the RSA Private Key generated from DocuSign
Company - NumberCopy the account number from your profile picture
CodeEnter the code of your company
NameEnter the name of your company
  • To complete the fields that need Client ID, Client Secret, RSA Private Key and the Company Number you need to access the DocuSign Developers platform by going to this page https://developers.docusign.com/platform/account/.
  • Create an account, or click Log in if you already have one.
  • Go to My Apps & Keys. Docusign
  • Enter your account. Docusign
  • Click the Add App and Integration Key. Docusign
  • Enter your App Name then click Create App. Docusign
  • Copy the Integration Key. Docusign
  • Click the Add Secret Key button. Docusign
  • Copy the Secret Key. Docusign
  • Click the Generate RSA button. Docusign
  • Copy the RSA Private Key. Docusign
  • Enter the Redirect URIs. Docusign
  • Copy the account number displayed on your profile picture as your company number. Docusign
  • Paste those data you got from the DocuSign platform on the RPA Connection field.
  • After filling in all the fields, click Test Connection. If the connection is successful, a ‘Connected’ message will appear. Docusign

To allow users to use the DocuSign add-on in Synergy, you must first add the eSignature role by going to HRM: Person and assigning the new role. Docusign

  • Go to the RPA Modules.
  • Then navigate to Setup > Templates > Import.
  • Open this path on the application server to get the XML files, for example: <ESE installation folder>\Templates\DocuSign Docusign
  • Select DocuSignViews.xml then click Import. Docusign
  • Confirm that DocuSignViews appears in the Import Result with a Success status. Docusign
  • Go to RPA Modules > Setup > Connection > Providers.
  • Open the DocuSign providers.
  • Check the Active and OData checkboxes. Docusign

Once DocuSign Connection has been created, continue to set up the DocuSign add-on at the Document Type level.

  • Go to Documents > Setup > Document: Types.

  • Select the eSignature tab section, then ensure that the Active checkbox is selected. Docusign

  • Setting:

FieldDescription
ProviderChoose DocuSign as the provider.
ActiveSelect the Active checkboxes.
TemplateThis option allows you to use a template form DocuSign by default.
Replace AttachmentThis option allows the attachment to be replaced with a signed document.
Download Combine DocumentThis option allows to download the Combine Document if the envelope has multiple attachments.
Set Signing OrderThis option allows to use the Signing Order by default when sending the document via DocuSign Synergy App.
Set Creator as Reply toSelect the checkboxes if you want to set the creator as reply to.
Reply to PersonThis option allows to reply the email sent by DocuSign to the specific person instead of dse@docusign.com.
  • Person:
FieldDescription
Include as RecipientThis option allows the Person that is linked to the Document, can be added as recipient on the DocuSign Synergy App. It also can be setup for a specific person or be linked to a role.
  • Contact:
FieldDescription
Include as RecipientThis option allows the Contact that is linked to the Document to be set as recipient on the DocuSign Sign add-on.
  • Owner:
FieldDescription
Include as RecipientThis option allows that the Owner of the Document can be added as recipient on the DocuSign addon.
  • Delete:
FieldDescription
Void Envelope When Document DeletedWhen the envelope is voided or deleted in DocuSign, the signing process stops and the documents in that envelope can no longer be signed or used. The document in DocuSign has been deleted so the signing process stops and the documents in that envelope can no longer be signed or used.
Use a Task Request for Failed VoidsWhen this option is selected, the system automatically creates a task request containing the envelope details and error message when a void fails.

The DocuSign add-on has the ability to upload signed documents to Synergy in the background. You need to copy the batch file (GLMSysDocuSignBackgroundJob.cmd) available in the setup/installer. The batch file make use of the Exact.Process.exe to run the upload signed document.

In the cmd file there is a virtual directory, change this directory to your Exact Synergy virtual directory from where the Exact Synergy is running. Create a task schedule using Windows Task Scheduler or a SQL Job for these command files, which will start the upload process for signed documents to Exact Synergy on a defined schedule. These jobs can be set up in the same way as other standard Exact Synergy jobs.

In this scenario, we want to create a sales quotation that needs to be signed.
Steps:

  • Go to Documents Modules.
  • Setup > Maintenance > Document: Types.
  • Choose the document type you want to add and for example in this section we will use Sales quotations types. Docusign
  • In the Documents: Type, choose eSignature menu and ensure to select the Active button on the Setting section. Docusign
  • Then click the Save button.
  • Next, open your quotation request.
  • Click the Generate Quotation.
  • Click the Send with DocuSign button. Docusign
  • Enter the message and the reply-to account. Docusign
  • Click the Add recipient button. Docusign
  • Enter the recipient information. Docusign
  • Enable Set signing order and Preview & add signature fields, then click Send now. Docusign
  • You will be directed to the DocuSign page, click the Signature button. Docusign
  • Replace the signature as needed. Docusign
  • You will receive an email notification. Docusign
  • Click Review Document. Docusign
  • Check the Electronic Record and Signature Disclosure, then click Continue. Docusign
  • Click the Sign here field to add your signature. Docusign
  • Click Adopt and Sign after choosing your signature. Docusign
  • Click the Finish button. Docusign
  • You will receive an email notification. Docusign
  • Click View completed document. Docusign
  • Click the Refresh button in Synergy. Docusign
  • After you refresh, the Attachments section will show the quotation document that has been signed, and you can view or download it in Synergy. Docusign
  • Your document has been successfully saved with your signature through DocuSign. Docusign

This happens when the DocuSign connection uses the Use Individual Auth and user consent is needed for the add-on to send an envelope on behalf of the logged user.
Step to resolve:
Make sure the browser allows to show the pop-up screen for user consent so the user can enter the credentials. Docusign

The error occurs because the required view files DocusignViews.xml were not imported correctly or cannot be found by the system.
Step to resolve:
After installing the latest DocuSign add-on, you need to import the View DocusignViews.xml. You can go to this path on the application server to get the XML files, for example:
<ESE installation folder>\Templates\DocuSign.
Docusign