FINS DocuSign Experience API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
| Module | Description | 
|---|---|
| map-document-event | This script maps DouSign event to Canonical Document Event format | 
map-document-event
This script maps DouSign event to Canonical Document Event format
Source:
./src/main/resources/dwl/map-document-event.dwl
Mapping Tables
Maps DocuSign Event to Canonical document format
| CIM - Document | DocuSign - Event | Description | 
|---|---|---|
| id | null | The identifier of the document | 
| documentStatus | "Current" | The document status - default set as "Current" | 
| signatureStatus | status | The signature status of the document | 
| customProperties | textCustomFields | The custom properties in the envelope | 
| externalIds.id | null | Id field set as null | 
| externalIds.externalId | EnvelopeId | The identifier of the envelope in DocuSign | 
| externalIds.externalIdType | "DOCUSIGN" | The externalId Type set as "DOCUSIGN" | 
| externalIds.status | VALID | The externalId status is set as VALID | 
| auditInfo.createdDate | createdDateTime | Timestamp of when the envelope was created | 
| auditInfo.createdBy | api.name | Identifies the system or user which created the envelope | 
| auditInfo.updatedDate | lastModifiedDateTime | Timestamp of when the document was last updated | 
| auditInfoupdatedBy | api.name | Identifies the system or user which last updated the envelope | 
| auditInfo.isDeleted | false | Indicates whether or not the envelope has been soft-deleted |