DocuSign

The DocuSign Service Type is used to allow K2 to integrate with DocuSign.

K2 can integrate with DocuSign through SmartObjects and workflow wizards. To enable integration between K2 and DocuSign, the DocuSign Feature must be activated by registering an Instance of the feature with the DocuSign page. Once complete, SmartObjects are created for the DocuSign Service Instance, and workflow wizards are activated within the web-based K2 workflow design tools. The underlying Service Type integrates with the DocuSign service, enabling you to design K2 workflows that manage document signing steps or build SmartForms that utilize the SmartObjects to interact with DocuSign.

Theoretical and functional knowledge of DocuSign is required to use the DocuSign integration provided by K2. You may learn more about DocuSign from the DocuSign website at https://www.docusign.com/. The documentation below assumes you are familiar with DocuSign as well as .

Prerequisites

The following prerequisites apply for K2-DocuSign integration

  1. DocuSign Enterprise Version. K2 integration requires the DocuSign API and a DocuSign Integrator Key. (When moving from development to production, K2 required all customers to obtain and register their integrator Key as part of the DocuSign broker service instance configuration. Previously this certification process was not necessary as K2 provided the option to use a K2 integrator Key. Docusign no longer supports the K2 integrator key and customers need to create their own key. This change has been applied in K2 blackpearl (4.7) April 2022 Cumulative Update Fix Pack 3 together with the OAuth option.
    • If you are using a different version of DocuSign, please contact DocuSign to determine whether you can use the API and obtain an Integrator Key in your version of DocuSign.)
  2. DocuSign Developer Account. This account must be created prior to integrating K2 with DocuSign, and the Developer Account must be obtained from DocuSign – it is not provided by K2. See the following link for more information on obtaining a developer account: https://www.docusign.com/developer-center
  3. The following information will be required for using K2-Docusign integration

    • Account ID
    • API Account ID
    • Account base URL
    • Authorization base URL
    • Client ID
    • Integration Key
    • RSA Private Key
    • REST API URL
    • Scope
    • User ID

    See Docusign Apps and Keys for more information.

Required Permissions

DocuSign integration with K2 requires the following permissions:

You can assign these permissions to existing permission profiles in DocuSign, or create a new permission profile in DocuSign, and assign the new permission profile to the relevant users who need to use DocuSign integration through K2.

Service Authentication

A DocuSign Service Instance can only be configured with the Static Authentication Mode.

Service Keys (Service Instance Configuration Settings)

Key Can be modified Data Type Sample Value Notes
DocuSign URL Yes Text https://demo.docusign.net Address for DocuSign's API. By Default this is set to the demo URL. Production DocuSign instances will most likely require a different URL.
Account ID Yes Text   The DocuSign API Account ID.
Integrator Key Yes Text   DocuSign Active Integrator Key.
Polling Interval Yes Text 15 The Polling Interval is set to 15 minutes by default. This can be changed, however any value that is set below 15 minutes will return cached values instead of real-time values. To return real-time values it is recommended that the value be set higher that 15 minutes.

Service Objects

The DocuSign Service 2 typically exposes the following Service Objects:

SmartObjects

K2 automatically creates SmartObjects for the Service Objects in this service. SmartObjects are automatically created when selecting the Generate SmartObjects for this Service Instance check box when creating a new Service Instance. Designers may use the available Service Objects in this service to create advanced SmartObjects using the available K2 SmartObject design tools. It is recommended to use the K2 Design tools to create SmartObjects rather than generating SmartObjects, since this allows better control over the naming, behavior and design of the SmartObject and its methods and properties.

Important Considerations