

Request.post(apiRequestOptions, handleApiResponse)Īlthough it is longer, this script has the same structure as the log in script.
DOCUSIGN PRICING API PASSWORD
In the script, on lines 2-3, replace the user name and password string values with your DocuSign developer account user name and password.
DOCUSIGN PRICING API CODE
Paste the following script into the code window.Under the ‘Add new variable’ heading, change the variable type to ‘Link’, enter the variable name ‘Base URL’, and click the ‘Create’ button.The output is a ‘Base URL’ - a ‘Link’ variable whose value is the common prefix for the API URLs that subsequent HTTP requests will use. The inputs are the user credentials included within the script.

The ‘Log in to API’ JavaScript action logs into the DocuSign API. Before you start, however, you need to create a DocuSign developer account that you will use to access the DocuSign API. The result of this process is a ‘Recipient view URL’ variable - a ‘Link’ variable containing the address of the web page that the signer can use to sign the document.Įach of the following sections will explain what each of these steps means. Add a ‘User’ field called ‘Signer’ for the person who will sign the document.

On the form trigger, add a ‘File’ field called ‘Document’ for the document that requires a signature.On the ‘Trigger’ tab, add a form trigger.On the ‘Actions’ tab, add a start event, three script tasks, and an end event, in sequence.Create a new process called ‘Generate DocuSign signing link’.To set-up this process in Process Governance: This process encapsulates DocuSign API access, so you can call it as a sub-process.

These three steps are also a convenient way to set-up a process in Process Governance.
DOCUSIGN PRICING API MANUAL
The ‘Approve contract’ task at the start of the the process is a manual decision that results in either approval or rejection. In this model, the process starts with a request to approve a contract. The following process model diagram shows one way to implement a DocuSign workflow with Signavio Process Governance as part of a contract approval. This article describes how you can integrate a DocuSign workflow in your approval processes by writing JavaScript code to access the DocuSign API. DocuSign provides a common solution to this requirement: secure electronic signatures for documents. Sometimes, document approvals require an additional step: signing the document to record the approval. Documents and approvals are regular features in business process automation.
