SetOutputExpireDate(str);
str
• Digits – The digits represent an offset in number of days. This offset is added to the CreationDateTime of the document to create the ExpiringDateTime.
• An ISO 8601 duration (date part only) – The duration is added to the CreationDateTime of the document to create the ExpiringDateTime.Sets an expiring date at which a document in the Collector archive is expired and ready to be deleted. The offset is set from the time at which the document is created in the output queue.The scripting levels can be combined. For example, to set a default expiring date for all documents included in a job and at the same time override this expiring date for specific documents.The actual deletion of the expired documents must be scheduled and performed separately. For more information, see the OpenText StreamServe Database Guidelines Reference Guide for the database vendor.
0 -1 -2 -3 1 SetOutputExpireDate("500");
\\ Deletes the document after 500 daysSetOutputExpireDate("P1Y2M3D");
\\ Deletes the document after one year, two months, and three days
OpenText StreamServe 5.6 | Updated: 2013-03-01 |