02 - User Guide DocuSign (v.168+)
02 - User Guide DocuSign (v.168+)
Version 168 +
updated 04.27.21
Contents
1. Introduction 2
2. Configuration 2
3. User Guide 2
Since Release 168, a new version for Docusign integration has been delivered named Docusign V2.
Any project that has configured Docusign V1 should upgrade since a big refactoring has been performed
and the new implementation is full EAI based, which grants the configurator to integrate it easily into any project
without specific code.
The V1 configuration can’t work anymore without an upgrade
- We’ve enriched the EAI stack with a lot of new possibilities to reach a full configurable integration
- We’ve removed almost all the specific code regarding this integration.
- We’ve improved the UI/ UX to bring more coherence with the other e-signature implementations.
- We've included some Docusign options directly in Ivalua to speed-up the signature transaction process setup.
- We’ve reworked the authorization mechanism moving to the OAUTH 2 standard to increase security.
From the version 168, we’ve replaced the SOBO mechanism with OAuth 2.0 “Act on
Behalf on “ which is strongly recommended by Docusign to improve security
2. Configuration
Please refer to the Docusign V2: Configuration to get deeper information about the setup of the third party system
and the Oauth 2.0 configuration
3. User Guide
When a user accesses the first time to the document tab of a contract or to any e-signature browse where the
signature proxy has been added, he should activate his authorizations to allow Ivalua to act on his behalf for the
Docusign platform.
Instead of the button “ sign'' he will then see a button called “Activate e-signatures”. Clicking on it brings the user
through the authorization process and sets the required access token and refresh token for that user.
A. if the user doesn’t yet have an account by Docusign, this action will automatically create one for him. The user
will then receive an Email from Docusign to fulfill the account creation.
B. Once the user has an active Docusign account, then he can activate his authorizations by clicking a second
time on the button “ Activate e-signatures”.
C. Important! The synchronization of the account creation might take a few minutes on the Docusign
platform. Please wait up to 5 minutes before trying to activate the authorizations to avoid frustration.
After completion, the user can see the button “Sign” again and can start to create signature transactions.
- the already selected documents have been added to the document grid
- the original documents and the pdf that will be sent to Docusign are available and downloadable
- add new documents related to the objects or any other important files through the button “add
documents”
c. Signatories
- One crucial enhancement that will really ease the process flow is that we can now select the signers directly
by Ivalua which used to be done manually on the Docusign platform
- we can reorder the signer in the grid through the drag&Drop column “order”
- we can set the option “ sequential signing” available in docusign after deciding of the signatories order: this
correspond to the Docusign recipient setup : “set signing Order”
- we can also define a User Role for each of the selected contacts like “Needs to Sign” or “Needs to view”
- There are several roles available in Docusign and each project can add them by simply adding the
other values in the config table (Admin → DataBrowse → t_fil_sign_rol) if needed.
- We have a new option that allows us to attach the signature placeholder for each selected signer. These
placeholders are then generated automatically and added at the end of each document that should be
signed.
- The content of the signature placeholder can be of course configured by changing the provided
template.
- The signature blocks set a placeholder for: Full name, Place, Date, Function, Signature
⇒ This is a huge time saving since the configurator doesn’t need anymore to set these fields manually
for each signer on the Docusign page.
Certificate
Once all the signers have signed the documents, the signature transaction is automatically updated and the
signed documents are available in Ivalua.
These can be reached either in the signature browse or in the signature transaction page.
For each document that has been signed. will find the original document, the fully signed document and the
certificate of termination generated by docusign.
The electronic signature is a feature that has been implemented in the past with deep integration to the Contract
Module, but some customers have expressed the need of using the e-signature for documents attached to other
business objects.
In this release, we’ve made a vast refactoring and separated the strong connection between the e-signature and the
Contract module to enable our customer to embed the e-signature feature into any business object simply with 2
configuration steps.
1 - Global parameter: declare the objects types that should use the e-signature
button "Sign"
○
○ Or a button “Activate e-signature” which is only displayed when the e-signature third party system is
configured with the OAuth 2.0 authorization standard.
■ this button appears until the user gets his Oauth tokens set.
■ Clicking on it lets the user go through the authorization steps.
■ Once done this button is replaced with the “Sign” button and the tokens are automatically
updated during the lifetime of the application
● Click on the button "Sign" and check that the signature creation is shown in a modal with object type & a
selector set to your invoice as selected.
On the page of electronic signature creation ( /sign_manage), a file selector is available to select the documents
related to the object itself.
This selector is filled by default by all files found in the table "t_fil_file_x" filter on the target object type code
(otype_code) and the target object ID (frel_x_id).
● the query can use parameter "@otype_code" (object type code) and "@object_id" (object ID),
● the file selector will filter & display only files GUIDs returned by the query.
EXAMPLE
SELECT file_guid
FROM t_fil_file_x AS filx
WHERE filx.otype_code = @otype_code
AND filx.frel_x_id = @object_id
AND filx.frel_type = 'us_invoice'
⇒ This query will return only documents attached to the object of type "us_invoice".
On the page of electronic signature creation ( sign_manage), the configurator can add signers in an open grid.
In this grid, he can select a contact. By default, this selector displays all contacts of the application.
If the need is to restrict the list of the contacts that could be chosen to the object team for example, then the
configurator can customize this selector by creating a query in the module query.
● the query can use parameter "@otype_code" (object type code) and "@object_id" (object ID),
● the file selector will filter & display only contact IDs returned by the query.
EXAMPLE
SELECT DISTINCT inv.contact_id
FROM
(
SELECT inv.contact_id
FROM t_ord_invoice inv
WHERE inv.invoice_id = @object_id
UNION
SELECT lg.contact_id
FROM t_ord_invoice inv
INNER JOIN t_usr_login lg ON lg.login_name = inv.login_name_created
WHERE inv.invoice_id = @object_id
UNION
SELECT lg.contact_id
FROM t_ord_invoice inv
INNER JOIN t_usr_login lg ON lg.login_name = inv.login_name_modified
WHERE inv.invoice_id = @object_id
) AS inv
WHERE inv.contact_id IS NOT NULL
⇒ This query will return the main contacts of a purchase requisition (creator, billing contact & delivery contact).
Please refer to for detailed configuration information: System and OAuth2.0 Configuration Settings
- to see the new architecture and new screens to configure all connection settings to any third-party system.
- to get concrete step by step OAuth 2.0 configuration for Docusign
These 2 components simplify the configuration and the administration of any system Ivalua has to connect with.
Go to Menu Integration → Configure EAI → filter on Docusign V2 to see all the interfaces that have been created to enable
full configurable connectivity between the both systems.
DocuSign V2: Create a user account 496582 initiate the user creation in Docusign when a user start a
signature transaction in Ivalua and doesn’t have a Docusign user
count for that ClientID
DocuSign V2: Signature create 448539 Create the signature transaction and initiate it in Docusign
- Only internal users can create transaction
DocuSign V2: Cancel Signature 448546 Cancel signature transaction as long as it’s not already send
- Button available for the transaction creator and the
admin account
DocuSign V2: Signature access 448607 the redirection URL can be set to redirect to:
- edit Document page
- main page of the envelope
DocuSign V2: Get the unsupported file types should be executed at least once at the project begin to update
the list of supported files. In the standard only pdf and word are
supported
Helper Interface
DocuSign V2: Get global informations 393976 to get general information from the external server:
Base URL
customerID
permission profiles
Helper interface
1. DocuSign V2: Get connect logs 448859 Get connection logs for all users that have been
connected to Docusign
Helper interface
2. DocuSign V2: Get connect log details when a deep lookup is needed for one particular user,
DocuSign V2: Create a user account 496582 initiate the user creation in Docusign when a user start a
signature transaction in Ivalua and doesn’t have a Docusign user
count for that ClientID
1. DocuSign V2: Signature create 448539 Create the signature transaction and initiate it in Docusign
- Only internal users can create transaction