How can the total processing time of the document be exported?

Question

How can the total processing time of the document be recorded and exported?

Answer

As one of the available methods, consider using the Service Fields inside the Document Definitions.

  1. Create Service Fields:
    In the Document Definition Editor, right-click on the Document Section structure and select Create Field > Service Field. Create 2 fields and call them DocumentCreationTime and DocumentLastEditTime.
  2. Set Service Fields:
    DocumentCreationTime
    Open the DocumentCreationTime field properties and select Data Source > Source > Document creation time. Select the Data type > Date.
    DocumentLastEditTime
    Open the DocumentLastEditTime field properties and select Data Source > Source > Document last edit time. Select the Data type > Date.
  3. Create a Text Field ProcessingTime to store the time it took to process the document.
    Add a Script Rule to calculate the time it took to process the document. Example rule in JavaScript:

    This script returns the value in milliseconds.
  4. It is possible to configure the export and if the field is shown on Verification for each of the created fields:

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.