Download Envelope Log

The fourth pillar of security, logging provides you with comprehensive audit trail of what happened at any given time and who performed the action.

NOTE  
The audit trail displays all the information about the document and it can be downloaded from Namirial in PDF format together with the signed document. This is done when the property downloadLog is set to true. The configurations are made in the processor settings. If the processor is not used, then this field is sent in the body of the request to DCS.

The envelope log file shows information about the envelope:

  • the general information
  • status of the envelope
  • the creation date
  • the recipients and the changes they made to the document, e. g., which signature fields were placed on the document
  • the time when the workstep was finished.

How to download the envelope log

To download the envelope log:

  1. Log in the FintechOS Studio in developer mode.
  2. In the Main Menu, click Advanced > Server Automation Scripts. The Server Automation Scripts List page appears.
  3. Search for the FTOS_DFP_ESign_Download_OnDemand server automation script and add double-click it. The Edit Server Automation Script page appears.
  4. In the Code field, search for the code written for downloading the document::
    Copy
    var downloadlRequest = {
        "envelopeList": [envelopeId]
    };
    var downloadResponse = JSON.parse(serialize(dcs.downloadSignedDocument(downloadlRequest)));
  5. Edit the downloadlRequest as follows:
    Copy
    var downloadlRequest = {
        "envelopeList": [envelopeId],
        "downloadLog": [true]
    };

The response will also contain the LogFile in base64 format.

Example