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.
- 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. - 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. - 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. - It is possible to configure the export and if the field is shown on Verification for each of the created fields:
Comments
0 comments
Please sign in to leave a comment.