Document Retention and Deletion
By default, documents are retained within AlphaTrust® e-Sign. There are several ways to control document deletion.
Completed Transactions
General File Deletion Options
- Transaction-Level: For each document, you may specify an absolute date for its files to be purged from the system. This is the Document's
DeleteDate
property. Once a Transaction is completed and the Document'sDeleteDate
has been passed, all files pertaining to that document will be deleted. - Group-Level: If the Transaction-level
DeleteDate
is not set, the Group-levelDocument Retention
setting—maintained through the Control Panel UI in the Groups section—is used. This is an integer value which gets used to compute aDeleteDate
.- Server-Level: The following settings determine the Group-level
Document Retention
settings' minimum, maximum and default values:- MinimumDocumentRetentionDays: Sets the minimum number of days for
Document Retention
. Default value:0
. - MaximumDocumentRetentionDays: Sets the maximum number of days for
Document Retention
. Default value:""
(blank). If left blank, documents are kept indefinitely. - DefaultDocumentRetentionDays: Specifies the initial value for a Group's
Document Retention
Value in Days, used if theDeleteDate
is not set at the Transaction level. Default value is not set.
*Note: on-premise only. In SaaS environments, set to0
,""
,null
respectively* - MinimumDocumentRetentionDays: Sets the minimum number of days for
- Server-Level: The following settings determine the Group-level
Specific File Deletion Options
The system stores multiple document files for every document included within a Transaction. To conserve file space, you are able to delete subsets of these files, prior to the ultimate DeleteDate
, using the following settings:
- CleanUpCompletedTransactionSourceFiles: Setting to
true
enables cleanup to delete all TransactionSource.pdf
files for completed Transactions. - CleanUpCompletedTransactionVersionFiles: Setting to
true
enables cleanup to delete all Transaction<DocumentID>_v#.pdf
files for completed Transactions. - CleanUpCompletedTransactionDocumentIDFiles: Setting to
true
enables cleanup to delete all Transaction<DocumentID>.pdf
files for completed Transactions if using an HSM for sealing documents. - DeletePageImageFilesOnDocCompletion: Setting to
true
will delete PNG files used in the PDF "PageImage" UI. If enabled, PNG File Deletion occurs 72-96 hours after Transaction completion. See here for more information.
*Note: on-premise only. In SaaS environments, set to false
, false
, false
, true
respectively*
Unless specified otherwise, the file repository cleanup tasks run at the time and schedule specified by your VersionCleanupTimerService settings.
*Note: on-premise only. In SaaS environments, set to run Daily
at 22:30
*
Failed Transactions
General File Deletion Options
The following settings control the deletion of document files when Transactions are closed, cancelled or expire:
- DeleteFailedTransactionFiles: If a Transaction has failed (i.e., status is Closed
7
, Cancelled8
, or Expired9
), then the Transaction directories and document files will be deleted if this setting istrue
. - DeleteFailedTransactionFilesWaitInDays: Number of days to wait before deleting failed Transaction files if
DeleteFailedTransactionFiles
istrue
. Minimum is 1 day; default is 7 days.
*Note: on-premise only. In SaaS environments, set to true
, 1
respectively*
Expiration Settings: For transactions that fail, document files are not purged until after the transaction moves to a failed status. As such, for transactions that expire, document file retention time will implicitly depend on the expiration date for the Transaction. The following settings determine a Transaction's expiration date:
- Transaction-Level: For each Transaction, you may specify an absolute date for the Transaction to expire. This the Transaction's
ExpirationDate
property. - Server-Level: If the Transaction-level
ExpirationDate
is not specified, the Transaction_Expiration setting determines the default expiration time in hours.
*Note: on-premise only. In SaaS environments, set to 720
.*
Providing Document Links
The GetDocumentFileLinks() method generates secure, time-limited download links for documents within a transaction. This method provides flexible access to documents by allowing you to specify different ID types to control which documents are included in the response.
What Are Tasks?
Most of the time, Tasks are the act of signing a document by the Participant. However, AlphaTrust® e-Sign supports more task types than just Signature, which are listed below with links to their explanations: