Does anyone know of a way to allow a user to stop a notes document from being archived? We’re using an archive policy based on 180 days since last accessed. Even though there is a link to the archived database a couple of users would like to block some of their documents from being archived.I’m not sure of the reasoning or that we will even permit that but I need to find out.
Thank you.
Subject: Prevent documents from archiving
A couple of ideas off the top of my head:___________________________
One way would be to add three agents to the mail template; one that adds a flag field to selected documents, one that clears that field from selected documents, and one that runs on a schedule (every 180 days or less) and simply re-saves those documents with the flag field, which will reset the last accessed property (Ok, you’ll have to actually change a field value; doc.subject = doc.subject(0) should do it). (The initial setting of the flag will also reset the last accessed property, so the agent shouldn’t have to run more frequently than your archive criterion age.) If you want to further add indications to the folders/views or entire new views which indicate to the user which docs are exempt from archiving, that would be another option.
Gotchas:
-
The agent would most like mark the document as unread.
-
Changing a document’s status from exempt to non-exempt (via the second agent mentioned above) would result in the archiving taking place TWO archive cycles in the future.
Another way might be to add an “Exempt from Archiving” folder to the template, run a nightly agent which removes and re-creates an “$Archive This” folder and accesses the ($All) view, testing all docs and placing anything not in the “Exempt” folder into the “$Archive” folder. Then maybe your Not Accessed criterion could be designed to only archive out of the $Archive folder. (This one sounds pretty server-intensive every night.)